Skip to content

Commit 44d4693

Browse files
committed
ProcessExecutor: avoid explicit usage of suppressions
1 parent 1c3ee7d commit 44d4693

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/processexecutor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ void ProcessExecutor::reportInternalChildErr(const std::string &childname, const
387387
"cppcheckError",
388388
Certainty::normal);
389389

390-
if (!mSuppressions.isSuppressed(errmsg))
390+
if (hasToLog(errmsg))
391391
mErrorLogger.reportErr(errmsg);
392392
}
393393

0 commit comments

Comments
 (0)