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'.
This commit is contained in:
istruewing@stella.local 2007-11-23 16:02:51 +01:00
parent 9e450e76cd
commit 08a757c03c

View file

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