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..