checkother.cpp: removed stray `CheckUninitVar` object (#4699)
This commit is contained in:
parent
c4784a1552
commit
25a6146ffa
|
@ -3286,7 +3286,6 @@ void CheckOther::checkAccessOfMovedVariable()
|
||||||
{
|
{
|
||||||
if (!mTokenizer->isCPP() || mSettings->standards.cpp < Standards::CPP11 || !mSettings->severity.isEnabled(Severity::warning))
|
if (!mTokenizer->isCPP() || mSettings->standards.cpp < Standards::CPP11 || !mSettings->severity.isEnabled(Severity::warning))
|
||||||
return;
|
return;
|
||||||
CheckUninitVar checkUninitVar(mTokenizer, mSettings, mErrorLogger);
|
|
||||||
const bool reportInconclusive = mSettings->certainty.isEnabled(Certainty::inconclusive);
|
const bool reportInconclusive = mSettings->certainty.isEnabled(Certainty::inconclusive);
|
||||||
const SymbolDatabase *symbolDatabase = mTokenizer->getSymbolDatabase();
|
const SymbolDatabase *symbolDatabase = mTokenizer->getSymbolDatabase();
|
||||||
for (const Scope * scope : symbolDatabase->functionScopes) {
|
for (const Scope * scope : symbolDatabase->functionScopes) {
|
||||||
|
|
Loading…
Reference in New Issue