Skip to content

Commit

Permalink
Executor: removed unnecessary Library::reportErrors() check from `h…
Browse files Browse the repository at this point in the history
…asToLog()`

already done in `CppCheck::reportErr()`
  • Loading branch information
firewave committed Jan 11, 2025
1 parent 74c3a27 commit cfddc25
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cli/executor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ bool Executor::hasToLog(const ErrorMessage &msg)
if (msg.severity == Severity::internal)
return true;

if (!mSettings.library.reportErrors(msg.file0))
return false;

if (!mSuppressions.isSuppressed(msg, {}))
{
// TODO: there should be no need for verbose and default messages here
Expand Down

0 comments on commit cfddc25

Please sign in to comment.