Fixed Cppcheck self-check
This commit is contained in:
parent
f08dde1140
commit
70511464f5
|
@ -7628,7 +7628,7 @@ bool Tokenizer::simplifyCAlternativeTokens()
|
|||
} else if (Token::Match(tok, "not|compl")) {
|
||||
alt.push_back(tok);
|
||||
|
||||
if (Token::Match(tok->previous(), "%assign%") || Token::Match(tok->next(), "%number%")) {
|
||||
if (Token::Match(tok->previous(), "%assign%") || Token::Match(tok->next(), "%num%")) {
|
||||
replaceAll = true;
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue