From 5e06f0a557d32804d68d9a362ecae6f621a4606a Mon Sep 17 00:00:00 2001 From: Zach Mullen Date: Fri, 25 Sep 2009 11:45:19 -0400 Subject: [PATCH] Fixed uninitialized memory issue in ctest show-only mode --- Source/CTest/cmCTestMultiProcessHandler.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/CTest/cmCTestMultiProcessHandler.cxx b/Source/CTest/cmCTestMultiProcessHandler.cxx index eca74fc04..ef8087c81 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 ++ )