fix selfcheck warning
This commit is contained in:
parent
a55b0c332a
commit
6541efdb9a
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue