From: Christos Tsantilas Date: Wed, 21 Jan 2015 15:47:05 +0000 (+0200) Subject: Moved PID file management from Coordinator to Master: fix clang compiler error X-Git-Tag: merge-candidate-3-v1~326 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a6201b10bf454984a54ae064aaa77cdfc7350379;p=thirdparty%2Fsquid.git Moved PID file management from Coordinator to Master: fix clang compiler error clang compilar complains for empty body in if statement: src/main.cc:1706:9: error: if statement has empty body --- diff --git a/src/main.cc b/src/main.cc index 4829ff82c5..d356ae8164 100644 --- a/src/main.cc +++ b/src/main.cc @@ -1702,8 +1702,9 @@ checkRunningPid(void) static void masterCheckAndBroadcastSignals() { - if (do_reconfigure) - ; // TODO: hot-reconfiguration of the number of kids and PID file location + // if (do_reconfigure) + // TODO: hot-reconfiguration of the number of kids and PID file location + if (do_shutdown) shutting_down = 1;