Fixed #1044 (Access violation with --enable=all)
This commit is contained in:
parent
0b09c36851
commit
642469b93f
|
@ -93,6 +93,8 @@ void CheckExceptionSafety::unsafeNew()
|
||||||
if (tok->str() != ")")
|
if (tok->str() != ")")
|
||||||
continue;
|
continue;
|
||||||
tok = tok->next();
|
tok = tok->next();
|
||||||
|
if (!tok)
|
||||||
|
break;
|
||||||
if (tok->str() != ":")
|
if (tok->str() != ":")
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue