Commit 24b9c28d authored by unknown's avatar unknown

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'.


client/mysql.cc:
  Bug#32661 - Compiler warning in client/mysql.cc
  Added LINT_INIT for 'warnings'.
parent d21f4bb2
...@@ -2158,6 +2158,7 @@ com_go(String *buffer,char *line __attribute__((unused))) ...@@ -2158,6 +2158,7 @@ com_go(String *buffer,char *line __attribute__((unused)))
ulong timer, warnings; ulong timer, warnings;
uint error= 0; uint error= 0;
int err= 0; int err= 0;
LINT_INIT(warnings);
interrupted_query= 0; interrupted_query= 0;
if (!status.batch) 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