From 86debaf7547cfddceeed098bf236f60c0e0298ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Tue, 12 Mar 2024 09:46:20 +0100 Subject: [PATCH] fix --- lib/astutils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)