mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -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
|
@ -33,7 +33,7 @@
|
|||
#define D(x) x
|
||||
#define D_LOG(...) qemu_log(__VA_ARGS__)
|
||||
#else
|
||||
#define D(x)
|
||||
#define D(x) do { } while (0)
|
||||
#define D_LOG(...) do { } while (0)
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue