Skip to content

Commit

Permalink
MDEV-13786 compiler complains about uninitialized variable.
Browse files Browse the repository at this point in the history
        '=0' added to meke the compiler happy.
  • Loading branch information
Alexey Botchkov committed Sep 12, 2017
1 parent 0cd7318 commit 30db4e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/item_jsonfunc.cc
Original file line number Diff line number Diff line change
Expand Up @@ -873,7 +873,7 @@ longlong Item_func_json_extract::val_int()
json_value_types type;
char *value;
int value_len;
longlong i;
longlong i= 0;

if (read_json(NULL, &type, &value, &value_len) != NULL)
{
Expand Down

0 comments on commit 30db4e1

Please sign in to comment.