BUG: Initialize the iterator to prevent seg-fault
This commit is contained in:
parent
5217fdfefd
commit
3a839f7c3a
|
@ -165,6 +165,8 @@ cmCTestBuildHandler::cmCTestBuildHandler()
|
||||||
m_MaxErrors = 50;
|
m_MaxErrors = 50;
|
||||||
m_MaxWarnings = 50;
|
m_MaxWarnings = 50;
|
||||||
|
|
||||||
|
m_LastErrorOrWarning = m_ErrorsAndWarnings.end();
|
||||||
|
|
||||||
int cc;
|
int cc;
|
||||||
for ( cc = 0; cmCTestWarningErrorFileLine[cc].m_RegularExpressionString; ++ cc )
|
for ( cc = 0; cmCTestWarningErrorFileLine[cc].m_RegularExpressionString; ++ cc )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue