Fixed uninitialized memory issue in ctest show-only mode

This commit is contained in:
Zach Mullen 2009-09-25 11:45:19 -04:00
parent 72bc82a98a
commit 5e06f0a557
1 changed files with 1 additions and 0 deletions

View File

@ -336,6 +336,7 @@ void cmCTestMultiProcessHandler::MarkFinished()
//For ShowOnly mode //For ShowOnly mode
void cmCTestMultiProcessHandler::PrintTestList() void cmCTestMultiProcessHandler::PrintTestList()
{ {
this->TestHandler->SetMaxIndex(this->FindMaxIndex());
int count = 0; int count = 0;
for (PropertiesMap::iterator it = this->Properties.begin(); for (PropertiesMap::iterator it = this->Properties.begin();
it != this->Properties.end(); it ++ ) it != this->Properties.end(); it ++ )