summaryrefslogtreecommitdiff
path: root/console-client
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2014-05-20 16:07:44 +0200
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-05-26 11:18:13 +0200
commit1333bbbcc18502328cdd78b2aadc526ebd552a77 (patch)
tree76bb16ab85d04c98eb05b8688dd52998a8c15197 /console-client
parentacddf44071674746d61895d89172481f85ca8d31 (diff)
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.
Diffstat (limited to 'console-client')
-rw-r--r--console-client/xkb/xkb.c3
1 files changed, 2 insertions, 1 deletions
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