From e82b5d46b98457b4b4b2927f11ab1571bd994616 Mon Sep 17 00:00:00 2001 From: chrchr-github Date: Wed, 19 Jun 2024 23:54:44 +0200 Subject: [PATCH] Undo --- lib/tokenize.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tokenize.cpp b/lib/tokenize.cpp index 49a83564773..b34e9ae4f5f 100644 --- a/lib/tokenize.cpp +++ b/lib/tokenize.cpp @@ -4838,7 +4838,7 @@ void Tokenizer::setVarIdPass1() } // function declaration inside executable scope? Function declaration is of form: type name "(" args ")" - if (scopeStack.top().isExecutable && !scopeStack.top().isStructInit && Token::Match(tok, "%name% [,)[]") && !tok->next()->isInitComma()) { + if (scopeStack.top().isExecutable && !scopeStack.top().isStructInit && Token::Match(tok, "%name% [,)[]")) { bool par = false; const Token* start; Token* end;