summaryrefslogtreecommitdiffstats
path: root/Source/CTest
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-07-04 13:55:26 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-07-04 13:55:26 (GMT)
commitfba54c56f232d0022726649a3111a9deab6ba1d0 (patch)
tree7356aa84e861b82239abcbfad68a72b62564ce3a /Source/CTest
parent7098b666faa2ddacdd2bf97b7533561a9f58bda6 (diff)
downloadCMake-fba54c56f232d0022726649a3111a9deab6ba1d0.zip
CMake-fba54c56f232d0022726649a3111a9deab6ba1d0.tar.gz
CMake-fba54c56f232d0022726649a3111a9deab6ba1d0.tar.bz2
COMP: fix warning
Diffstat (limited to 'Source/CTest')
-rw-r--r--Source/CTest/cmCTestTestHandler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestTestHandler.cxx b/Source/CTest/cmCTestTestHandler.cxx
index e73b70f..f5643ac 100644
--- a/Source/CTest/cmCTestTestHandler.cxx
+++ b/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);