/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
This commit is contained in:
Jörg Mayer 2013-09-13 17:23:00 +00:00
parent 4fb4b2f1a2
commit b0ef116a4c
1 changed files with 1 additions and 1 deletions

View File

@ -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);