From 849ea6b3c8d06e8745bbd471582253cc95283451 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Wed, 24 Feb 2021 22:12:48 +0100 Subject: [PATCH] Fix compilation errors --- cli/threadexecutor.cpp | 2 +- lib/errortypes.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/threadexecutor.cpp b/cli/threadexecutor.cpp index dd8fd78cf..1f1d80138 100644 --- a/cli/threadexecutor.cpp +++ b/cli/threadexecutor.cpp @@ -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); diff --git a/lib/errortypes.h b/lib/errortypes.h index 7887c34c1..1fd16a3a9 100644 --- a/lib/errortypes.h +++ b/lib/errortypes.h @@ -43,7 +43,7 @@ struct InternalError { class CPPCHECKLIB Certainty { public: enum CertaintyLevel { - normal, inconclusive, experimental + normal, inconclusive, safe, experimental }; };