Browse Source

COMP: fix warning

Bill Hoffman 17 years ago
parent
commit
fba54c56f2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/CTest/cmCTestTestHandler.cxx

+ 1 - 1
Source/CTest/cmCTestTestHandler.cxx

@@ -1122,7 +1122,7 @@ void cmCTestTestHandler::LoadTestList()
     return;
     }
   bool ok = true;
-  int numTestsToRun;
+  int numTestsToRun = 0;
   ok = ok && this->GetValue("TotalNumberOfTests:", 
                             this->TotalNumberOfTests, fin);
   ok = ok && this->GetValue("NumberOfTestsToRun:", numTestsToRun, fin);