Suppress false positive stlFindInsert

This commit is contained in:
Daniel Marjamäki 2020-12-19 21:53:23 +01:00
parent a493e17a6a
commit d3d36dad2a
1 changed files with 1 additions and 0 deletions

View File

@ -198,6 +198,7 @@ void Settings::loadSummaries()
if (line.find(" noreturn:[") != std::string::npos || line.find(" call:[") != std::string::npos)
summaryNoreturn[functionName] = true;
else if (summaryNoreturn.find(functionName) == summaryNoreturn.end())
// cppcheck-suppress stlFindInsert
summaryNoreturn[functionName] = false;
}
}