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/connq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pflocal/connq.c') diff --git a/pflocal/connq.c b/pflocal/connq.c index d88711e3..d86f9a24 100644 --- a/pflocal/connq.c +++ b/pflocal/connq.c @@ -212,7 +212,7 @@ connq_listen (struct connq *cq, struct timespec *tsp, struct sock **sock) request and another listener (should) eventually come along. (In fact it is very probably as the caller has likely done a select and will now follow up with an accept.) */ - ; + { /* Do nothing. */ } out: pthread_mutex_unlock (&cq->lock); -- cgit v1.2.3