Fixed Cppcheck self-check

This commit is contained in:
Daniel Marjamäki 2021-02-14 15:53:46 +01:00
parent f08dde1140
commit 70511464f5
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}