Suppress false positive stlFindInsert
This commit is contained in:
parent
a493e17a6a
commit
d3d36dad2a
|
@ -198,6 +198,7 @@ void Settings::loadSummaries()
|
||||||
if (line.find(" noreturn:[") != std::string::npos || line.find(" call:[") != std::string::npos)
|
if (line.find(" noreturn:[") != std::string::npos || line.find(" call:[") != std::string::npos)
|
||||||
summaryNoreturn[functionName] = true;
|
summaryNoreturn[functionName] = true;
|
||||||
else if (summaryNoreturn.find(functionName) == summaryNoreturn.end())
|
else if (summaryNoreturn.find(functionName) == summaryNoreturn.end())
|
||||||
|
// cppcheck-suppress stlFindInsert
|
||||||
summaryNoreturn[functionName] = false;
|
summaryNoreturn[functionName] = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue