diff --git a/lib/astutils.cpp b/lib/astutils.cpp index d71444c61e9..b7eadd2083f 100644 --- a/lib/astutils.cpp +++ b/lib/astutils.cpp @@ -3271,7 +3271,7 @@ bool isConstVarExpression(const Token *tok, const std::functionastParent() && tok->astParent()->isUnaryOp("&"); @@ -3378,7 +3378,7 @@ ExprUsage getExprUsage(const Token* tok, int indirect, const Settings* settings, (astIsLHS(tok) || Token::simpleMatch(parent, "( )"))) return ExprUsage::Used; } - return getFunctionUsage(tok, indirect, settings, cpp); + return getFunctionUsage(tok, indirect, settings); } static void getLHSVariablesRecursive(std::vector& vars, const Token* tok)