]> git.proxmox.com Git - mirror_qemu.git/commit - target-sparc/translate.c
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)
commit6ad6135dcaec584958179bb57a954d3f8d890919
treea705d8c369a282f61ae411c6970c9827fa0d15d5
parent676d9b9b883691cf99e298291dbc2ad7956516b9
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