Use gcc warning flag -Wempty-body
authorBlue Swirl <blauwirbel@gmail.com>
Sat, 18 Sep 2010 07:01:48 +0000 (07:01 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 18 Sep 2010 07:01:48 +0000 (07:01 +0000)
commit3ffd710e12ce64478abc027e92fe94e1089ac91c
treeac9c7acb10abd4ecee917c2ed7b1f770f8126963
parenta21493e00952e5d7cd948951f2677b0d0e465ccd
Use gcc warning flag -Wempty-body

If the compiler supports the warning flag -Wempty-body, use it.

Adjust the code to avoid the warnings.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
configure
hw/omap_i2c.c
hw/omap_mmc.c
hw/pxa2xx.c
hw/soc_dma.c
target-cris/mmu.c