Skip to content

Commit

Permalink
Fix #13047 (....)
Browse files Browse the repository at this point in the history
  • Loading branch information
danmar committed Aug 29, 2024
1 parent e6b0081 commit f558668
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/cppcheckexecutor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ int CppCheckExecutor::check_internal(const Settings& settings) const
stdLogger.reportErr(ErrorMessage::getXMLFooter());
}

if (settings.safety && (stdLogger.hasCriticalErrors() || returnValue != 0))
if (settings.safety && stdLogger.hasCriticalErrors())
return EXIT_FAILURE;

if (returnValue)
Expand Down

0 comments on commit f558668

Please sign in to comment.