summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-05-24 15:14:06 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-05-24 15:46:43 +0200
commit347c4f4355624bd820091d125c035dd7a501d018 (patch)
treeb37bdcdc6c10c5cad453f000209a3d1c90c60cd2 /filter
parentd5cbe627426cd28f48cdab9cdab5a33baeed4ed1 (diff)
cppcheck: redundantAssignment
Change-Id: I433a4b39f6e0d2db135b998b4b4f1e9621e30659
Diffstat (limited to 'filter')
-rw-r--r--filter/source/graphicfilter/ipbm/ipbm.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/filter/source/graphicfilter/ipbm/ipbm.cxx b/filter/source/graphicfilter/ipbm/ipbm.cxx
index 57ad5002b2b9..e9b48098f702 100644
--- a/filter/source/graphicfilter/ipbm/ipbm.cxx
+++ b/filter/source/graphicfilter/ipbm/ipbm.cxx
@@ -461,7 +461,6 @@ bool PBMReader::ImplReadBody()
mpAcc->SetPixel( nHeight, nWidth++, BitmapColor( static_cast< sal_uInt8 >( ( nRGB[ 0 ] * 255 ) / mnMaxVal ),
static_cast< sal_uInt8 >( ( nRGB[ 1 ] * 255 ) / mnMaxVal ),
static_cast< sal_uInt8 >( ( nRGB[ 2 ] * 255 ) / mnMaxVal ) ) );
- nCount = 0;
nRGB[ 0 ] = nRGB[ 1 ] = nRGB[ 2 ] = 0;
if ( nWidth == mnWidth )
{