Skip to content

Commit 8b3b905

Browse files
committed
ProcessExecutor: avoid explicit usage of suppressions
1 parent bf3be95 commit 8b3b905

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cli/processexecutor.cpp

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

389-
if (!mSettings.nomsg.isSuppressed(errmsg))
389+
if (hasToLog(errmsg))
390390
mErrorLogger.reportErr(errmsg);
391391
}
392392

0 commit comments

Comments
 (0)