From 25a6146ffa5f0a19cfadfeea6784583bdc588a32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20St=C3=B6neberg?= Date: Wed, 18 Jan 2023 17:10:35 +0100 Subject: [PATCH] checkother.cpp: removed stray `CheckUninitVar` object (#4699) --- lib/checkother.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/checkother.cpp b/lib/checkother.cpp index 5b5ed133e..1c8d8b10a 100644 --- a/lib/checkother.cpp +++ b/lib/checkother.cpp @@ -3286,7 +3286,6 @@ void CheckOther::checkAccessOfMovedVariable() { if (!mTokenizer->isCPP() || mSettings->standards.cpp < Standards::CPP11 || !mSettings->severity.isEnabled(Severity::warning)) return; - CheckUninitVar checkUninitVar(mTokenizer, mSettings, mErrorLogger); const bool reportInconclusive = mSettings->certainty.isEnabled(Certainty::inconclusive); const SymbolDatabase *symbolDatabase = mTokenizer->getSymbolDatabase(); for (const Scope * scope : symbolDatabase->functionScopes) {