1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Bug #43414 Parenthesis (and other) warnings compiling MySQL

with gcc 4.3.2

Cleaning up warnings not present in 5.0.
This commit is contained in:
Staale Smedseng
2009-09-23 15:21:29 +02:00
parent 613297ff1e
commit 8b9843408d
30 changed files with 75 additions and 76 deletions

View File

@@ -3561,7 +3561,7 @@ static void print_warnings()
messages. To be safe, skip printing the duplicate only if it is the only
warning.
*/
if (!cur || num_rows == 1 && error == (uint) strtoul(cur[1], NULL, 10))
if (!cur || (num_rows == 1 && error == (uint) strtoul(cur[1], NULL, 10)))
goto end;
/* Print the warnings */