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. --- libpipe/pipe.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libpipe') diff --git a/libpipe/pipe.c b/libpipe/pipe.c index 1080b5d5..f9300e7c 100644 --- a/libpipe/pipe.c +++ b/libpipe/pipe.c @@ -352,7 +352,9 @@ pipe_send (struct pipe *pipe, int noblock, void *source, if (!err) err = packet_set_ports (control_packet, ports, num_ports); if (err) - /* Trash CONTROL_PACKET somehow XXX */; + { + /* Trash CONTROL_PACKET somehow XXX */ + } } } -- cgit v1.2.3