diff options
| author | Blue Swirl | 2010-09-18 09:01:48 +0200 |
|---|---|---|
| committer | Blue Swirl | 2010-09-18 09:01:48 +0200 |
| commit | 3ffd710e12ce64478abc027e92fe94e1089ac91c (patch) | |
| tree | ac9c7acb10abd4ecee917c2ed7b1f770f8126963 /target-cris | |
| parent | Use a few more gcc warning flags (diff) | |
| download | qemu-3ffd710e12ce64478abc027e92fe94e1089ac91c.tar.gz qemu-3ffd710e12ce64478abc027e92fe94e1089ac91c.tar.xz qemu-3ffd710e12ce64478abc027e92fe94e1089ac91c.zip | |
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>
Diffstat (limited to 'target-cris')
| -rw-r--r-- | target-cris/mmu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-cris/mmu.c b/target-cris/mmu.c index 773438e9f4..3f290ba9e0 100644 --- a/target-cris/mmu.c +++ b/target-cris/mmu.c @@ -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 |
