[Qemu-devel] [PATCH 14/15] Use gcc warning flag -Wempty-body

2010-09-10 Thread Blue Swirl
If the compiler supports the warning flag -Wempty-body, use it. Adjust the code to avoid the warnings. Signed-off-by: Blue Swirl --- configure |2 +- hw/omap_i2c.c |5 +++-- hw/omap_mmc.c |5 +++-- hw/pxa2xx.c |5 +++-- hw/soc_dma.c |5 +++-- targe

[Qemu-devel] [PATCH 14/15] Use gcc warning flag -Wempty-body, fix warnings

2010-09-05 Thread Blue Swirl
If the compiler supports the warning flag -Wempty-body, use it. Adjust the code to avoid the warnings. Signed-off-by: Blue Swirl --- configure |2 +- hw/omap_i2c.c |5 +++-- hw/omap_mmc.c |5 +++-- hw/pxa2xx.c |5 +++-- hw/soc_dma.c |5 +++-- targe