Tokenizer::simplifyTypedef: redundant assignment to 'offset'.
This commit is contained in:
parent
5a1585dcfb
commit
fe3fd1a073
|
@ -1006,7 +1006,6 @@ void Tokenizer::simplifyTypedef()
|
||||||
|
|
||||||
if (tok->next()->str() == "::" || Token::Match(tok->next(), "%type%")) {
|
if (tok->next()->str() == "::" || Token::Match(tok->next(), "%type%")) {
|
||||||
typeStart = tok->next();
|
typeStart = tok->next();
|
||||||
offset = 1;
|
|
||||||
|
|
||||||
while (Token::Match(tokOffset, "const|signed|unsigned|struct|enum %type%") ||
|
while (Token::Match(tokOffset, "const|signed|unsigned|struct|enum %type%") ||
|
||||||
(tokOffset->next() && tokOffset->next()->isStandardType())) {
|
(tokOffset->next() && tokOffset->next()->isStandardType())) {
|
||||||
|
|
Loading…
Reference in New Issue