diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-05-20 16:07:44 +0200 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-05-26 11:18:13 +0200 |
commit | 1333bbbcc18502328cdd78b2aadc526ebd552a77 (patch) | |
tree | 76bb16ab85d04c98eb05b8688dd52998a8c15197 /libpipe | |
parent | acddf44071674746d61895d89172481f85ca8d31 (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 'libpipe')
-rw-r--r-- | libpipe/pipe.c | 4 |
1 files changed, 3 insertions, 1 deletions
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 */ + } } } |