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. --- console-client/xkb/xkb.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'console-client') diff --git a/console-client/xkb/xkb.c b/console-client/xkb/xkb.c index 0b439134..0039714b 100644 --- a/console-client/xkb/xkb.c +++ b/console-client/xkb/xkb.c @@ -606,10 +606,11 @@ clearcontrols (keypress_t key, boolctrls ctrls, int flags) static void lockcontrols (keypress_t key, boolctrls ctrls, int flags) { + /* XXX this needs a closer look. */ if (!key.rel) { //setcontrols (key, boolctrls, flags); - if (!(flags & noLock)); + //if (!(flags & noLock)) // lboolctrls |= boolctrls; } else -- cgit v1.2.3