Merge pull request #729 from Dmitry-Me/removeRedundantCheck
Remove redundant check
This commit is contained in:
commit
febe1c9c14
|
@ -711,7 +711,6 @@ void Tokenizer::simplifyTypedef()
|
||||||
typeStart = tokOffset;
|
typeStart = tokOffset;
|
||||||
|
|
||||||
while (Token::Match(tokOffset, "const|struct|enum %type%") ||
|
while (Token::Match(tokOffset, "const|struct|enum %type%") ||
|
||||||
(Token::Match(tokOffset, "signed|unsigned %type%") && tokOffset->next()->isStandardType()) ||
|
|
||||||
(tokOffset->next() && tokOffset->next()->isStandardType()))
|
(tokOffset->next() && tokOffset->next()->isStandardType()))
|
||||||
tokOffset = tokOffset->next();
|
tokOffset = tokOffset->next();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue