Skip to content

Commit

Permalink
Silence gcc-11 warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
cvicentiu committed Feb 3, 2023
1 parent 0e737f7 commit b482e87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions storage/connect/bsonudf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3571,7 +3571,7 @@ char *bson_item_merge(UDF_INIT *initid, UDF_ARGS *args, char *result,
} // endif Xchk

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

if (!CheckMemory(g, initid, args, 2, false, false, true)) {
JTYP type;
JTYP type = TYPE_JAR;
BJNX bnx(g);
PBVAL jvp = NULL, top = NULL;
PBVAL jsp[2] = {NULL, NULL};
Expand Down

0 comments on commit b482e87

Please sign in to comment.