diff --git a/lib/check.h b/lib/check.h index 2e725f75f..054eaed6a 100644 --- a/lib/check.h +++ b/lib/check.h @@ -101,6 +101,8 @@ protected: std::list callstack; if (tok) callstack.push_back(tok); + else if (severity == Severity::possibleError || severity == Severity::possibleStyle) + return; // don't list inconclusive checks in the --errorlist output reportError(callstack, severity, id, msg); }