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(); parent = parent->astParent();
if (parent->str() == "(" && !parent->isCast()) if (parent->str() == "(" && !parent->isCast())
break; break;
if (parent && isSameExpression(mCpp, false, expr, parent, mLibrary, true, false, nullptr)) { if (isSameExpression(mCpp, false, expr, parent, mLibrary, true, false, nullptr)) {
same = true; same = true;
if (mWhat == What::ValueFlow) { if (mWhat == What::ValueFlow) {
KnownAndToken v; KnownAndToken v;