Fix compilation errors

This commit is contained in:
Daniel Marjamäki 2021-02-24 22:12:48 +01:00
parent 3998836b03
commit 849ea6b3c8
2 changed files with 2 additions and 2 deletions

View File

@ -369,7 +369,7 @@ void ThreadExecutor::reportInternalChildErr(const std::string &childname, const
Severity::error,
"Internal error: " + msg,
"cppcheckError",
false);
Certainty::normal);
if (!mSettings.nomsg.isSuppressed(errmsg.toSuppressionsErrorMessage()))
mErrorLogger.reportErr(errmsg);

View File

@ -43,7 +43,7 @@ struct InternalError {
class CPPCHECKLIB Certainty {
public:
enum CertaintyLevel {
normal, inconclusive, experimental
normal, inconclusive, safe, experimental
};
};