diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2010-09-18 07:01:48 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-09-18 07:01:48 +0000 |
commit | 3ffd710e12ce64478abc027e92fe94e1089ac91c (patch) | |
tree | ac9c7acb10abd4ecee917c2ed7b1f770f8126963 /target-cris/mmu.c | |
parent | a21493e00952e5d7cd948951f2677b0d0e465ccd (diff) |
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/mmu.c')
-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 |