1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-13786 compiler complains about uninitialized variable.

'=0' added to meke the compiler happy.
This commit is contained in:
Alexey Botchkov
2017-09-12 15:33:30 +04:00
parent 0cd731864e
commit 30db4e1fc7

View File

@ -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)
{