Fix harmless if statements with empty body, spotted by clang
authorBlue Swirl <blauwirbel@gmail.com>
Sun, 18 Apr 2010 14:22:14 +0000 (14:22 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Sun, 18 Apr 2010 14:22:14 +0000 (14:22 +0000)
commit92a6a17a4273667881cd593c031f1b362d8ac1f3
treea705d8c369a282f61ae411c6970c9827fa0d15d5
parente0267c6c203fadbd065086120c8f1f4217bc7f1e
Fix harmless if statements with empty body, spotted by clang

These clang errors are harmless but worth fixing:
  CC    ppc-softmmu/usb-ohci.o
/src/qemu/hw/usb-ohci.c:1104:59: error: if statement has empty body [-Wempty-body]
                          ohci->ctrl_head, ohci->ctrl_cur);
/src/qemu/hw/usb-ohci.c:1371:57: error: if statement has empty body [-Wempty-body]
        DPRINTF("usb-ohci: port %d: SUSPEND\n", portnum);
  CC    sparc64-softmmu/translate.o
/src/qemu/target-sparc/translate.c:3173:37: error: if statement has empty body [-Wempty-body]
                                    ; // XXX

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/usb-ohci.c
target-sparc/translate.c