From 2abd9dcf7923014cf4c2c07618e93ba659411e22 Mon Sep 17 00:00:00 2001 From: Stefan Hagen Date: Fri, 12 May 2023 11:27:21 +0200 Subject: [PATCH] nit: removed stray semicolon in checkother.cpp (#5053) This fixed nit removes a compiler warning. --- lib/checkother.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/checkother.cpp b/lib/checkother.cpp index 90c3a54dc..f434848d6 100644 --- a/lib/checkother.cpp +++ b/lib/checkother.cpp @@ -868,7 +868,7 @@ static bool isSimpleExpr(const Token* tok, const Variable* var, const Settings* needsCheck = true; } return (needsCheck && !isExpressionChanged(tok, tok->astParent(), var->scope()->bodyEnd, settings, true)); -}; +} //--------------------------------------------------------------------------- // Check scope of variables..