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:
parent
89fd5bacf9
commit
6d4799e0b8
|
@ -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) ||
|
||||
|
|
Loading…
Reference in New Issue