Remove redundant check
This commit is contained in:
parent
2582bbd0f6
commit
eba9ea0ed0
|
@ -4052,7 +4052,7 @@ void Tokenizer::removeMacroInClassDef()
|
||||||
void Tokenizer::removeMacroInVarDecl()
|
void Tokenizer::removeMacroInVarDecl()
|
||||||
{
|
{
|
||||||
for (Token *tok = list.front(); tok; tok = tok->next()) {
|
for (Token *tok = list.front(); tok; tok = tok->next()) {
|
||||||
if (Token::Match(tok, "[;{}] %name% (") && tok->next() && tok->next()->isUpperCaseName()) {
|
if (Token::Match(tok, "[;{}] %name% (") && tok->next()->isUpperCaseName()) {
|
||||||
// goto ')' parentheses
|
// goto ')' parentheses
|
||||||
const Token *tok2 = tok;
|
const Token *tok2 = tok;
|
||||||
int parlevel = 0;
|
int parlevel = 0;
|
||||||
|
|
Loading…
Reference in New Issue