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:
@@ -200,7 +200,7 @@ public:
|
||||
}
|
||||
}
|
||||
if (suppressWarningAt(d->getLocation()))
|
||||
return true;
|
||||
continue;
|
||||
report(DiagnosticsEngine::Warning, "unused class member", d->getLocation())
|
||||
<< d->getSourceRange();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user