summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorStephan Bergmann <stephan.bergmann@allotropia.de>2024-05-05 17:10:37 +0200
committerStephan Bergmann <stephan.bergmann@allotropia.de>2024-05-05 21:07:44 +0200
commit8c49dab215ed012fea195ea71cea079ddaa97ba3 (patch)
treef66c466504d22f2555be5b5703f2be31e535bd2b /sw/source
parentc44be10034e66569e1db8f9dc52918caf4f9cb6a (diff)
Avoid loplugin:casttovoid with recent Clang 19 trunk
> In file included from sc/source/core/data/autonamecache.cxx:23: > In file included from sc/inc/dociter.hxx:23: > In file included from sc/inc/formulagroup.hxx:17: > sc/inc/stlalgorithm.hxx:52:9: error: unnecessary cast to void [loplugin:casttovoid] > 52 | (void)p; // avoid bogus MSVC '12 "unreferenced formal parameter" warning > | ^~~~~~~ > sc/inc/stlalgorithm.hxx:51:9: note: first consumption is here [loplugin:casttovoid] > 51 | p->~value_type(); > | ^ Change-Id: I14bcc32fcaf3026a9c3c36e522b1e61da15f224f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167158 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Diffstat (limited to 'sw/source')
0 files changed, 0 insertions, 0 deletions