Remove known arg

This commit is contained in:
Paul 2020-06-25 17:20:20 -05:00
parent 60c42b17a6
commit 720d882b69
1 changed files with 1 additions and 1 deletions

View File

@ -1377,7 +1377,7 @@ bool isVariableChangedByFunctionCall(const Token *tok, int indirect, const Setti
return true;
}
return arg && !arg->isConst() && arg->isReference();
return !arg->isConst() && arg->isReference();
}
bool isVariableChanged(const Token *tok, int indirect, const Settings *settings, bool cpp, int depth)