mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 06:44:16 +01:00
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:
parent
9e450e76cd
commit
08a757c03c
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue