From 3ffd710e12ce64478abc027e92fe94e1089ac91c Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Sat, 18 Sep 2010 07:01:48 +0000 Subject: 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 --- target-cris/mmu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target-cris') 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 -- cgit v1.2.3