-Wempty-body warning regression in dispatch_command

Bug #1616768 reported by Laurynas Biveinis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
Status tracked in 5.7
5.5
Fix Released
Low
Laurynas Biveinis
5.6
Fix Released
Low
Laurynas Biveinis
5.7
Fix Released
Low
Laurynas Biveinis

Bug Description

5.5 trunk:

/mnt/workspace/percona-server-5.5-trunk/BUILD_TYPE/release/Host/ubuntu-precise-32bit/sql/sql_parse.cc: In function ‘bool dispatch_command(enum_server_command, THD*, char*, uint)’:
/mnt/workspace/percona-server-5.5-trunk/BUILD_TYPE/release/Host/ubuntu-precise-32bit/sql/sql_parse.cc:1477:74: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]

tags: added: low-hanging-fruit regression
Revision history for this message
Laurynas Biveinis (laurynas-biveinis) wrote :
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-2185

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.