Fix treatment of suppressedWarning in loplugin:unusedmember

Change-Id: I47af9f5e041abf850ad88908a74f1a1241e51d50
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/191314
Reviewed-by: Stephan Bergmann <stephan.bergmann@collabora.com>
Tested-by: Jenkins
This commit is contained in:
Stephan Bergmann
2025-09-22 14:59:04 +02:00
parent 89ef80185c
commit 0278766c5c
+1 -1
View File
@@ -200,7 +200,7 @@ public:
}
}
if (suppressWarningAt(d->getLocation()))
return true;
continue;
report(DiagnosticsEngine::Warning, "unused class member", d->getLocation())
<< d->getSourceRange();
}