mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
MDEV-13786 compiler complains about uninitialized variable.
'=0' added to meke the compiler happy.
This commit is contained in:
@ -873,7 +873,7 @@ longlong Item_func_json_extract::val_int()
|
|||||||
json_value_types type;
|
json_value_types type;
|
||||||
char *value;
|
char *value;
|
||||||
int value_len;
|
int value_len;
|
||||||
longlong i;
|
longlong i= 0;
|
||||||
|
|
||||||
if (read_json(NULL, &type, &value, &value_len) != NULL)
|
if (read_json(NULL, &type, &value, &value_len) != NULL)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user