From 77aa385384b082d90211a1bbe65daec3f6350c7e Mon Sep 17 00:00:00 2001 From: Dmitry-Me Date: Tue, 10 Feb 2015 13:52:04 +0300 Subject: [PATCH] Remove completely redundant code --- lib/checkcondition.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/checkcondition.cpp b/lib/checkcondition.cpp index e0da4f566..1de271c3c 100644 --- a/lib/checkcondition.cpp +++ b/lib/checkcondition.cpp @@ -93,11 +93,6 @@ bool CheckCondition::assignIfParseScope(const Token * const assignTok, mismatchingBitAndError(assignTok, num, tok2, num2); } if (Token::Match(tok2, "%varid% =", varid)) { - if ((bitop == '&') && Token::Match(tok2->tokAt(2), "%varid% %cop% %num% ;", varid) && tok2->strAt(3) == std::string(1U, bitop)) { - const MathLib::bigint num2 = MathLib::toLongNumber(tok2->strAt(4)); - if (0 == (num & num2)) - mismatchingBitAndError(assignTok, num, tok2, num2); - } return true; } if (Token::Match(tok2, "++|-- %varid%", varid) || Token::Match(tok2, "%varid% ++|--", varid))