From 1333bbbcc18502328cdd78b2aadc526ebd552a77 Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Tue, 20 May 2014 16:07:44 +0200 Subject: Avoid compiler warning about empty bodies Make empty bodies of control flow statements more explicit. Doing so will allow us to use stricter compiler settings. This would have cought 4ece292c. * console-client/xkb/xkb.c: Make empty bodies more explicit * libpipe/pipe.c: Likewise. * mach-defpager/default_pager.c: Likewise. * pfinet/linux-src/net/ipv4/fib_hash.c: Likewise. * pflocal/connq.c: Likewise. * pflocal/socket.c: Likewise. --- mach-defpager/default_pager.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mach-defpager') diff --git a/mach-defpager/default_pager.c b/mach-defpager/default_pager.c index f514ea6b..380c7246 100644 --- a/mach-defpager/default_pager.c +++ b/mach-defpager/default_pager.c @@ -88,13 +88,13 @@ synchronized_printf (const char *fmt, ...) #if 0 #define dprintf(f, x...) synchronized_printf (f, ##x) #else -#define dprintf(f, x...) +#define dprintf(f, x...) (void) 0 #endif #if 0 #define ddprintf(f, x...) synchronized_printf (f, ##x) #else -#define ddprintf(f, x...) +#define ddprintf(f, x...) (void) 0 #endif /* -- cgit v1.2.3