Remove unused variable
This commit is contained in:
parent
cbb23f14d2
commit
4740bf116f
|
@ -3035,11 +3035,9 @@ void Tokenizer::setVarIdPass2()
|
|||
std::list<const Token *> classnameTokens;
|
||||
classnameTokens.push_back(tok->next());
|
||||
const Token* tokStart = tok->tokAt(2);
|
||||
unsigned int nestedCount = 1;
|
||||
while (Token::Match(tokStart, ":: %name%")) {
|
||||
classnameTokens.push_back(tokStart->next());
|
||||
tokStart = tokStart->tokAt(2);
|
||||
nestedCount++;
|
||||
}
|
||||
|
||||
std::string classname;
|
||||
|
|
Loading…
Reference in New Issue