From 9e087d4a3011aa98de6151aeda9cbb40b1fd21ef Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 6 Nov 2019 09:04:58 +0200 Subject: loplugin:unusedvariablecheck tweak to find more stuff but leave the tweak commented out, since it generates false positives Change-Id: Iaf3f92414d2618f8780561f98765e33e282afe0c Reviewed-on: https://gerrit.libreoffice.org/82121 Tested-by: Jenkins Reviewed-by: Noel Grandin --- vcl/source/gdi/dibtools.cxx | 1 - 1 file changed, 1 deletion(-) (limited to 'vcl/source/gdi/dibtools.cxx') diff --git a/vcl/source/gdi/dibtools.cxx b/vcl/source/gdi/dibtools.cxx index 4728a43700d1..ce1df4a68a65 100644 --- a/vcl/source/gdi/dibtools.cxx +++ b/vcl/source/gdi/dibtools.cxx @@ -1108,7 +1108,6 @@ bool ImplWriteDIBPalette( SvStream& rOStm, BitmapReadAccess const & rAcc ) const sal_uLong nPalSize = nColors * 4UL; std::unique_ptr pEntries(new sal_uInt8[ nPalSize ]); sal_uInt8* pTmpEntry = pEntries.get(); - BitmapColor aPalColor; for( sal_uInt16 i = 0; i < nColors; i++ ) { -- cgit