Remove unused variable

This commit is contained in:
Daniel Marjamäki 2020-04-10 13:16:15 +02:00
parent 05769e8dcc
commit b67a043e5b
1 changed files with 0 additions and 1 deletions

View File

@ -859,7 +859,6 @@ static const Token* getLoopContainer(const Token* tok)
void CheckStl::invalidContainerLoop() void CheckStl::invalidContainerLoop()
{ {
const SymbolDatabase *symbolDatabase = mTokenizer->getSymbolDatabase(); const SymbolDatabase *symbolDatabase = mTokenizer->getSymbolDatabase();
const Library& library = mSettings->library;
for (const Scope * scope : symbolDatabase->functionScopes) { for (const Scope * scope : symbolDatabase->functionScopes) {
for (const Token* tok = scope->bodyStart->next(); tok != scope->bodyEnd; tok = tok->next()) { for (const Token* tok = scope->bodyStart->next(); tok != scope->bodyEnd; tok = tok->next()) {
const Token* contTok = getLoopContainer(tok); const Token* contTok = getLoopContainer(tok);