Silence gcc-11 warnings

This commit is contained in:
Vicențiu Ciorbaru 2021-09-28 22:14:36 +03:00
parent 0e737f7898
commit b482e87f26

View File

@ -3571,7 +3571,7 @@ char *bson_item_merge(UDF_INIT *initid, UDF_ARGS *args, char *result,
} // endif Xchk } // endif Xchk
if (!CheckMemory(g, initid, args, 2, false, false, true)) { if (!CheckMemory(g, initid, args, 2, false, false, true)) {
JTYP type; JTYP type= TYPE_JAR;
BJNX bnx(g); BJNX bnx(g);
PBVAL jvp = NULL, top = NULL; PBVAL jvp = NULL, top = NULL;
PBVAL jsp[2] = {NULL, NULL}; PBVAL jsp[2] = {NULL, NULL};
@ -5722,7 +5722,7 @@ char *bbin_item_merge(UDF_INIT *initid, UDF_ARGS *args, char *result,
} // endif Xchk } // endif Xchk
if (!CheckMemory(g, initid, args, 2, false, false, true)) { if (!CheckMemory(g, initid, args, 2, false, false, true)) {
JTYP type; JTYP type = TYPE_JAR;
BJNX bnx(g); BJNX bnx(g);
PBVAL jvp = NULL, top = NULL; PBVAL jvp = NULL, top = NULL;
PBVAL jsp[2] = {NULL, NULL}; PBVAL jsp[2] = {NULL, NULL};