nit: removed stray semicolon in checkother.cpp (#5053)

This fixed nit removes a compiler warning.
This commit is contained in:
Stefan Hagen 2023-05-12 11:27:21 +02:00 committed by GitHub
parent 2a0143c8e1
commit 2abd9dcf79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -868,7 +868,7 @@ static bool isSimpleExpr(const Token* tok, const Variable* var, const Settings*
needsCheck = true; needsCheck = true;
} }
return (needsCheck && !isExpressionChanged(tok, tok->astParent(), var->scope()->bodyEnd, settings, true)); return (needsCheck && !isExpressionChanged(tok, tok->astParent(), var->scope()->bodyEnd, settings, true));
}; }
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// Check scope of variables.. // Check scope of variables..