Skip to content

Commit d35a26c

Browse files
committed
--check-library fix
1 parent 87489c3 commit d35a26c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cli/cppcheckexecutor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -912,7 +912,7 @@ int CppCheckExecutor::check_internal(CppCheck& cppcheck, int /*argc*/, const cha
912912
if (settings.isEnabled(Settings::INFORMATION) || settings.checkConfiguration) {
913913
const bool enableUnusedFunctionCheck = cppcheck.isUnusedFunctionCheckEnabled();
914914

915-
if (settings.jointSuppressionReport && !settings.checkLibrary) {
915+
if (settings.jointSuppressionReport) {
916916
for (std::map<std::string, std::size_t>::const_iterator i = _files.begin(); i != _files.end(); ++i) {
917917
const bool err = reportUnmatchedSuppressions(settings.nomsg.getUnmatchedLocalSuppressions(i->first, enableUnusedFunctionCheck));
918918
if (err && returnValue == 0)

0 commit comments

Comments
 (0)