Skip to content

Commit 35b5f7e

Browse files
committed
s [skip ci]
1 parent 4f59994 commit 35b5f7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/cppcheckexecutor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ static bool reportUnmatchedSuppressions(const std::list<SuppressionList::Suppres
341341
}
342342

343343
bool CppCheckExecutor::reportUnmatchedSuppressions(const Settings &settings, const SuppressionList& suppressions, const std::list<FileWithDetails> &files, const std::list<FileSettings>& fileSettings, ErrorLogger& errorLogger) {
344-
// bail out if there is a suppression of unmatchedSuppression which matches all files
344+
// bail out if there is a suppression of unmatchedSuppression which matches any file
345345
const auto suppr = suppressions.getSuppressions();
346346
if (std::any_of(suppr.cbegin(), suppr.cend(), [](const SuppressionList::Suppression& s) {
347347
return s.errorId == "unmatchedSuppression" && (s.fileName.empty() || s.fileName == "*") && s.lineNumber == SuppressionList::Suppression::NO_LINE;

0 commit comments

Comments
 (0)