Fixed #1152 (Hang/Slow: ExecutionPath handling hangs)
This commit is contained in:
parent
9819b75e17
commit
ad8184f060
|
@ -98,7 +98,7 @@ static const Token *checkExecutionPaths_(const Token *tok, std::list<ExecutionPa
|
||||||
tok = tok->next();
|
tok = tok->next();
|
||||||
|
|
||||||
// parse condition
|
// parse condition
|
||||||
if (check->parseCondition(*tok->next(), checks))
|
if (checks.size() > 10 || check->parseCondition(*tok->next(), checks))
|
||||||
{
|
{
|
||||||
while (!checks.empty())
|
while (!checks.empty())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue