SymbolDatabase: Simplify code

This commit is contained in:
Daniel Marjamäki 2019-08-02 15:41:00 +02:00
parent 7ee36489f1
commit 26b0ea52ed
1 changed files with 1 additions and 1 deletions

View File

@ -4203,7 +4203,7 @@ const Function* Scope::findFunction(const Token *tok, bool requireConst) const
// check for a match with a variable
if (Token::Match(arguments[j], "%var% ,|)")) {
const Variable * callarg = check->getVariableFromVarId(arguments[j]->varId());
const Variable * callarg = arguments[j]->variable();
checkVariableCallMatch(callarg, funcarg, same, fallback1, fallback2);
}