summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZach Mullen <zach.mullen@kitware.com>2009-09-25 15:45:19 (GMT)
committerZach Mullen <zach.mullen@kitware.com>2009-09-25 15:45:19 (GMT)
commit5e06f0a557d32804d68d9a362ecae6f621a4606a (patch)
treee413f19ccbbdb9cae8041ac0328c6fb8b9130936
parent72bc82a98ac3ef100fe79caef1783967e0a3279e (diff)
downloadCMake-5e06f0a557d32804d68d9a362ecae6f621a4606a.zip
CMake-5e06f0a557d32804d68d9a362ecae6f621a4606a.tar.gz
CMake-5e06f0a557d32804d68d9a362ecae6f621a4606a.tar.bz2
Fixed uninitialized memory issue in ctest show-only mode
-rw-r--r--Source/CTest/cmCTestMultiProcessHandler.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestMultiProcessHandler.cxx b/Source/CTest/cmCTestMultiProcessHandler.cxx
index eca74fc..ef8087c 100644
--- a/Source/CTest/cmCTestMultiProcessHandler.cxx
+++ b/Source/CTest/cmCTestMultiProcessHandler.cxx
@@ -336,6 +336,7 @@ void cmCTestMultiProcessHandler::MarkFinished()
//For ShowOnly mode
void cmCTestMultiProcessHandler::PrintTestList()
{
+ this->TestHandler->SetMaxIndex(this->FindMaxIndex());
int count = 0;
for (PropertiesMap::iterator it = this->Properties.begin();
it != this->Properties.end(); it ++ )