disas/i386.c: Add explicit braces round empty for-loop body
commitaf18078d8057203b1ed26ac5534d233aabb36886
authorPeter Maydell <peter.maydell@linaro.org>
Sat, 2 Feb 2013 17:17:54 +0000 (2 17:17 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 23 Feb 2013 09:50:03 +0000 (23 09:50 +0000)
treef6d9afa2cb7d2e181c7af88ec2b4f5805c89d2fd
parent632314c49ce20ee9c974f07544d9125fbbbfbe1b
disas/i386.c: Add explicit braces round empty for-loop body

Add explicit braces round an empty for-loop body; this fits
QEMU style and is easier to read than an inconspicuous semicolon
at the end of the line. It also silences a clang warning:

disas/i386.c:4723:49: warning: for loop has empty body [-Wempty-body]
          for (i = 0; tmp[i] == '0' && tmp[i + 1]; i++);
                                                       ^
disas/i386.c:4723:49: note: put the semicolon on a separate line to silence this warning [-Wempty-body]

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
disas/i386.c