fix selfcheck warning

This commit is contained in:
Daniel Marjamäki 2021-08-27 22:33:03 +02:00
parent a55b0c332a
commit 6541efdb9a
1 changed files with 1 additions and 1 deletions

View File

@ -2834,7 +2834,7 @@ struct FwdAnalysis::Result FwdAnalysis::checkRecursive(const Token *expr, const
parent = parent->astParent();
if (parent->str() == "(" && !parent->isCast())
break;
if (parent && isSameExpression(mCpp, false, expr, parent, mLibrary, true, false, nullptr)) {
if (isSameExpression(mCpp, false, expr, parent, mLibrary, true, false, nullptr)) {
same = true;
if (mWhat == What::ValueFlow) {
KnownAndToken v;