List:Commits« Previous MessageNext Message »
From:magnus.blaudd Date:June 15 2011 2:39pm
Subject:bzr commit into mysql-5.1-telco-7.0 branch (magnus.blaudd:4459)
View as plain text  
#At file:///home/msvensson/mysql/7.0-bug12352191/ based on revid:magnus.blaudd@stripped

 4459 magnus.blaudd@stripped	2011-06-15
      ndb
       - fix compiler warnings about unused calculated value

    modified:
      storage/ndb/src/mgmsrv/MgmtSrvr.cpp
=== modified file 'storage/ndb/src/mgmsrv/MgmtSrvr.cpp'
--- a/storage/ndb/src/mgmsrv/MgmtSrvr.cpp	2011-06-01 07:40:49 +0000
+++ b/storage/ndb/src/mgmsrv/MgmtSrvr.cpp	2011-06-15 14:39:31 +0000
@@ -1486,11 +1486,11 @@ int MgmtSrvr::shutdownMGM(int *stopCount
     error= sendStopMgmd(nodeId, abort, true, false,
                         false, false);
     if (error == 0)
-      *stopCount++;
+      (*stopCount)++;
   }
 
   *stopSelf= 1;
-  *stopCount++;
+  (*stopCount)++;
 
   return 0;
 }


Attachment: [text/bzr-bundle] bzr/magnus.blaudd@oracle.com-20110615143931-i2bg2pw02zh8zg8d.bundle
Thread
bzr commit into mysql-5.1-telco-7.0 branch (magnus.blaudd:4459) magnus.blaudd16 Jun