summaryrefslogtreecommitdiffstats
path: root/Source/CTest
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-06-06 13:23:45 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-06-06 13:23:45 (GMT)
commit3a839f7c3ad7a7c98204c9bc391b1053a887e941 (patch)
tree7026c7a394b7208428965da57aba0eaea6cb19e6 /Source/CTest
parent5217fdfefdc488194cecdf562dc7210d4bf37157 (diff)
downloadCMake-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.cxx2
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 )
{