mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Fixed compiler warnings
This commit is contained in:
@@ -578,7 +578,7 @@ bool ARRAY::CanBeShort(void)
|
||||
/***********************************************************************/
|
||||
int ARRAY::Convert(PGLOBAL g, int k, PVAL vp)
|
||||
{
|
||||
int i, prec = 0;
|
||||
int i;
|
||||
bool b = FALSE;
|
||||
PMBV ovblk = Valblk;
|
||||
PVBLK ovblp = Vblp;
|
||||
@@ -588,7 +588,6 @@ int ARRAY::Convert(PGLOBAL g, int k, PVAL vp)
|
||||
|
||||
switch (Type) {
|
||||
case TYPE_DOUBLE:
|
||||
prec = 2;
|
||||
case TYPE_SHORT:
|
||||
case TYPE_INT:
|
||||
case TYPE_DATE:
|
||||
|
Reference in New Issue
Block a user