COMP: fix warning

This commit is contained in:
Bill Hoffman 2008-07-04 09:55:26 -04:00
parent 7098b666fa
commit fba54c56f2
1 changed files with 1 additions and 1 deletions

View File

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