compilerplugins/clang/unusedmember.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 0278766c5cd6adbd09d751d2c727494749ebc0af Author: Stephan Bergmann <[email protected]> AuthorDate: Mon Sep 22 09:59:14 2025 +0200 Commit: Stephan Bergmann <[email protected]> CommitDate: Mon Sep 22 14:59:04 2025 +0200 Fix treatment of suppressedWarning in loplugin:unusedmember Change-Id: I47af9f5e041abf850ad88908a74f1a1241e51d50 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/191314 Reviewed-by: Stephan Bergmann <[email protected]> Tested-by: Jenkins diff --git a/compilerplugins/clang/unusedmember.cxx b/compilerplugins/clang/unusedmember.cxx index 7644f4c91de4..45007b1f752b 100644 --- a/compilerplugins/clang/unusedmember.cxx +++ b/compilerplugins/clang/unusedmember.cxx @@ -200,7 +200,7 @@ public: } } if (suppressWarningAt(d->getLocation())) - return true; + continue; report(DiagnosticsEngine::Warning, "unused class member", d->getLocation()) << d->getSourceRange(); }
