diff options
author | Jörg Mayer <jmayer@loplof.de> | 2013-09-13 17:23:00 +0000 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2013-09-13 17:23:00 +0000 |
commit | b0ef116a4cd5f983bf160ea3f904db2b0566a190 (patch) | |
tree | a305f1cc49185311d9eb40ef4ec3ba38809c82f0 | |
parent | 4fb4b2f1a293ea5b5c6eaeebbf25dfc3b07d504e (diff) |
Fix
/home/jmayer/work/wireshark/svn/trunk/echld/parent.c: In function ‘echld_terminate’:
/home/jmayer/work/wireshark/svn/trunk/echld/parent.c:305:5: error: suggest braces around empty body in ‘do’ statement [-Werror=empty-body]
do ; while(sleep(1)); /* wait a full sec without signals */
^
cc1: all warnings being treated as errors
svn path=/trunk/; revision=52011
-rw-r--r-- | echld/parent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/echld/parent.c b/echld/parent.c index c3c121f1d2..ce48f03547 100644 --- a/echld/parent.c +++ b/echld/parent.c @@ -302,7 +302,7 @@ extern echld_state_t echld_terminate(void) { parent.closing = TRUE; PARENT_SEND(NULL,0,ECHLD_CLOSE_CHILD,++reqh_ids); - do ; while(sleep(1)); /* wait a full sec without signals */ + do {;} while(sleep(1)); /* wait a full sec without signals */ echld_cleanup(); close(parent.dispatcher_fd); |