BUG: Initialize the iterator to prevent seg-fault

This commit is contained in:
Andy Cedilnik 2005-06-06 09:23:45 -04:00
parent 5217fdfefd
commit 3a839f7c3a
1 changed files with 2 additions and 0 deletions

View File

@ -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 )
{