From 61882fc6f905f654e2467ef90df0d0ba72eb9337 Mon Sep 17 00:00:00 2001
From: Fons Rademakers <Fons.Rademakers@cern.ch>
Date: Tue, 22 Apr 2008 14:32:37 +0000
Subject: [PATCH] fix gcc 4.3 warning.

git-svn-id: http://root.cern.ch/svn/root/trunk@23397 27541ba8-7e3a-0410-8455-c3a389f83636
---
 proof/proofd/src/proofd.cxx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/proof/proofd/src/proofd.cxx b/proof/proofd/src/proofd.cxx
index f8df85955a8..edd244383c0 100644
--- a/proof/proofd/src/proofd.cxx
+++ b/proof/proofd/src/proofd.cxx
@@ -1092,12 +1092,13 @@ int main(int argc, char **argv)
       if (NetOpen(gInetdFlag, gService) == 0) {
 
          // Init Session (get protocol, run authentication, login, ...)
-         if ((gMaster = RpdInitSession(gService, gUser, gRemPid)) < 0)
+         if ((gMaster = RpdInitSession(gService, gUser, gRemPid)) < 0) {
             if (gMaster == -1)
                Error(ErrFatal, -1, "proofd: failure initializing session");
             else if (gMaster == -2)
                // special session (eg. cleanup): just exit
                exit(0);
+         }
 
          ProofdExec();     // child processes client's requests
          NetClose();       // then we are done
-- 
GitLab