Bug#32661 - Compiler warning in client/mysql.cc

Compiler warned about possible use of uninitialized variable
'warnings' in com_go().

Added LINT_INIT for 'warnings'.
parent 9e450e76
......@@ -2158,6 +2158,7 @@ com_go(String *buffer,char *line __attribute__((unused)))
ulong timer, warnings;
uint error= 0;
int err= 0;
LINT_INIT(warnings);
interrupted_query= 0;
if (!status.batch)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment