mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-18 23:52:14 -06:00
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>
This commit is contained in:
parent
a21493e009
commit
3ffd710e12
6 changed files with 14 additions and 10 deletions
|
@ -559,8 +559,9 @@ static void omap_mmc_cover_cb(void *opaque, int line, int level)
|
|||
if (!host->cdet_state && level) {
|
||||
host->status |= 0x0002;
|
||||
omap_mmc_interrupts_update(host);
|
||||
if (host->cdet_wakeup)
|
||||
/* TODO: Assert wake-up */;
|
||||
if (host->cdet_wakeup) {
|
||||
/* TODO: Assert wake-up */
|
||||
}
|
||||
}
|
||||
|
||||
if (host->cdet_state != level) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue