From a6201b10bf454984a54ae064aaa77cdfc7350379 Mon Sep 17 00:00:00 2001 From: Christos Tsantilas Date: Wed, 21 Jan 2015 17:47:05 +0200 Subject: [PATCH] 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 --- src/main.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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; -- 2.47.3