Minor cleanup related to previous fix.

This code should not be needed anymore as tokenizer should simplify question mark away.
This commit is contained in:
Reijo Tomperi 2011-06-30 22:10:17 +03:00
parent 89fd5bacf9
commit 6d4799e0b8
1 changed files with 0 additions and 1 deletions

View File

@ -1498,7 +1498,6 @@ Token *CheckMemoryLeakInFunction::getcode(const Token *tok, std::list<const Toke
}
if (Token::Match(tok, "[)=] %varid% [+;)]", varid) ||
Token::Match(tok, "= %varid% ? %varid% :", varid) ||
Token::Match(tok, "%var% + %varid%", varid) ||
Token::Match(tok, "%varid% +=|-=", varid) ||
Token::Match(tok, "+=|<< %varid% ;", varid) ||