diff --git a/lib/check.h b/lib/check.h index 8aca4ca95..2e725f75f 100644 --- a/lib/check.h +++ b/lib/check.h @@ -101,8 +101,6 @@ protected: std::list callstack; if (tok) callstack.push_back(tok); - else if (severity == Severity::possibleError) - return; // don't list inconclusive checks in the --errorlist output reportError(callstack, severity, id, msg); } diff --git a/lib/errorlogger.h b/lib/errorlogger.h index 018865d43..59602c92c 100644 --- a/lib/errorlogger.h +++ b/lib/errorlogger.h @@ -322,7 +322,7 @@ private: class Severity { public: - enum e { error, style, possibleError }; + enum e { error, style }; static std::string stringify(e severity) { switch (severity) @@ -331,8 +331,6 @@ public: return "error"; case style: return "style"; - case possibleError: - return "possible error"; }; return "???"; }