diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-06-06 13:23:45 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-06-06 13:23:45 (GMT) |
commit | 3a839f7c3ad7a7c98204c9bc391b1053a887e941 (patch) | |
tree | 7026c7a394b7208428965da57aba0eaea6cb19e6 /Source/CTest | |
parent | 5217fdfefdc488194cecdf562dc7210d4bf37157 (diff) | |
download | CMake-3a839f7c3ad7a7c98204c9bc391b1053a887e941.zip CMake-3a839f7c3ad7a7c98204c9bc391b1053a887e941.tar.gz CMake-3a839f7c3ad7a7c98204c9bc391b1053a887e941.tar.bz2 |
BUG: Initialize the iterator to prevent seg-fault
Diffstat (limited to 'Source/CTest')
-rw-r--r-- | Source/CTest/cmCTestBuildHandler.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestBuildHandler.cxx b/Source/CTest/cmCTestBuildHandler.cxx index e614988..cd74635 100644 --- a/Source/CTest/cmCTestBuildHandler.cxx +++ b/Source/CTest/cmCTestBuildHandler.cxx @@ -165,6 +165,8 @@ cmCTestBuildHandler::cmCTestBuildHandler() m_MaxErrors = 50; m_MaxWarnings = 50; + m_LastErrorOrWarning = m_ErrorsAndWarnings.end(); + int cc; for ( cc = 0; cmCTestWarningErrorFileLine[cc].m_RegularExpressionString; ++ cc ) { |