summaryrefslogtreecommitdiff
path: root/svx/source/svdraw
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2023-05-23 12:56:33 +0200
committerStephan Bergmann <sbergman@redhat.com>2023-05-23 14:35:03 +0200
commitf1ac4376ffaee143ad24931744637aa0a4717016 (patch)
tree30912c8540a764955d923f76277657fca7a47dec /svx/source/svdraw
parent4fac9a110961f19006c3041be0c4b920a5eafe7b (diff)
Don't even bother to introduce unused variables
With <https://gerrit.libreoffice.org/c/core/+/152157> "More conservative SAL_WARN_UNUSED to avoid -Werror,-Wunused-private-field", these two cases would have started to cause "unused variable declaration [loplugin:casttovoid]" (because the call to isWarnUnusedType in compilerplugins/clang/casttovoid.cxx would no longer return true). Just avoid that by not introducing the variables in the first place. Change-Id: I3d2b085082555d1765fbd32045b5157deb0af67e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152158 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'svx/source/svdraw')
0 files changed, 0 insertions, 0 deletions