diff --git a/lib/executionpath.cpp b/lib/executionpath.cpp index 71363fdec..42fad0234 100644 --- a/lib/executionpath.cpp +++ b/lib/executionpath.cpp @@ -98,7 +98,7 @@ static const Token *checkExecutionPaths_(const Token *tok, std::listnext(); // parse condition - if (check->parseCondition(*tok->next(), checks)) + if (checks.size() > 10 || check->parseCondition(*tok->next(), checks)) { while (!checks.empty()) {