diff options
author | Zach Mullen <zach.mullen@kitware.com> | 2009-09-25 15:45:19 (GMT) |
---|---|---|
committer | Zach Mullen <zach.mullen@kitware.com> | 2009-09-25 15:45:19 (GMT) |
commit | 5e06f0a557d32804d68d9a362ecae6f621a4606a (patch) | |
tree | e413f19ccbbdb9cae8041ac0328c6fb8b9130936 /Source | |
parent | 72bc82a98ac3ef100fe79caef1783967e0a3279e (diff) | |
download | CMake-5e06f0a557d32804d68d9a362ecae6f621a4606a.zip CMake-5e06f0a557d32804d68d9a362ecae6f621a4606a.tar.gz CMake-5e06f0a557d32804d68d9a362ecae6f621a4606a.tar.bz2 |
Fixed uninitialized memory issue in ctest show-only mode
Diffstat (limited to 'Source')
-rw-r--r-- | Source/CTest/cmCTestMultiProcessHandler.cxx | 1 |
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 ++ ) |