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. --- pflocal/socket.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'pflocal/socket.c') diff --git a/pflocal/socket.c b/pflocal/socket.c index 7142c6ef..792c6379 100644 --- a/pflocal/socket.c +++ b/pflocal/socket.c @@ -198,7 +198,9 @@ S_socket_accept (struct sock_user *user, ports_port_deref (peer_addr); } else - /* TEAR DOWN THE CONNECTION XXX */; + { + /* TEAR DOWN THE CONNECTION XXX */ + } } } -- cgit v1.2.3