From 98fe91f8b023bc141be12896d348e455fdae7752 Mon Sep 17 00:00:00 2001 From: chrchr-github Date: Sat, 29 Jun 2024 11:14:22 +0200 Subject: [PATCH] Fix --- lib/forwardanalyzer.cpp | 1 + 1 file changed, 1 insertion(+) 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)