diff --git a/lib/tokenize.cpp b/lib/tokenize.cpp index 4a32e0e67..79d9cc6bd 100644 --- a/lib/tokenize.cpp +++ b/lib/tokenize.cpp @@ -9812,8 +9812,6 @@ void Tokenizer::removeUnnecessaryQualification() if (isC()) return; - const bool portabilityEnabled = _settings->isEnabled("portability"); - std::vector classInfo; for (Token *tok = list.front(); tok; tok = tok->next()) { if (Token::Match(tok, "class|struct|namespace %type% :|{") &&