From b67a043e5bbc36fe3e2b7cfe7be70423effb326c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Fri, 10 Apr 2020 13:16:15 +0200 Subject: [PATCH] Remove unused variable --- lib/checkstl.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/checkstl.cpp b/lib/checkstl.cpp index 6ca37d06a..9fe1f643f 100644 --- a/lib/checkstl.cpp +++ b/lib/checkstl.cpp @@ -859,7 +859,6 @@ static const Token* getLoopContainer(const Token* tok) void CheckStl::invalidContainerLoop() { const SymbolDatabase *symbolDatabase = mTokenizer->getSymbolDatabase(); - const Library& library = mSettings->library; for (const Scope * scope : symbolDatabase->functionScopes) { for (const Token* tok = scope->bodyStart->next(); tok != scope->bodyEnd; tok = tok->next()) { const Token* contTok = getLoopContainer(tok);