diff --git a/lib/forwardanalyzer.cpp b/lib/forwardanalyzer.cpp index e8ada6dfb15..cf46497205c 100644 --- a/lib/forwardanalyzer.cpp +++ b/lib/forwardanalyzer.cpp @@ -812,6 +812,7 @@ namespace { if (updateRecursive(tok->next()->astOperand2()) == Progress::Break) return Break(); actions |= Analyzer::Action::Write; // bailout for switch scope + return Break(); } else if (Token* callTok = callExpr(tok)) { // TODO: Dont traverse tokens a second time if (start != callTok && tok != callTok && updateRecursive(callTok->astOperand1()) == Progress::Break)