]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Moved PID file management from Coordinator to Master: fix clang compiler error
authorChristos Tsantilas <chtsanti@users.sourceforge.net>
Wed, 21 Jan 2015 15:47:05 +0000 (17:47 +0200)
committerChristos Tsantilas <chtsanti@users.sourceforge.net>
Wed, 21 Jan 2015 15:47:05 +0000 (17:47 +0200)
clang compilar complains for empty body in if statement:
     src/main.cc:1706:9: error: if statement has empty body

src/main.cc

index 4829ff82c589497d39a9a1329f3f2df4008e8da8..d356ae8164651b7228ea9d0040c6d7d351dfe3d2 100644 (file)
@@ -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;