summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-09 14:36:58 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-09 15:08:38 +0200
commit987203a2794df1a9d21a548eade79893d2c9aa36 (patch)
treeb63c12f731b5297c7fa29a94892001296f6914b2 /vcl
parent4a0ad999d29ae63db61f80c1b9ed9e76104015e7 (diff)
clang-analyzer-deadcode.DeadStores
Change-Id: Ic3464a466302b87fae70a63f2723d1355eccab6f
Diffstat (limited to 'vcl')
-rw-r--r--vcl/unx/generic/app/saldisp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/generic/app/saldisp.cxx b/vcl/unx/generic/app/saldisp.cxx
index ee6a1b892f6b..7510addf0681 100644
--- a/vcl/unx/generic/app/saldisp.cxx
+++ b/vcl/unx/generic/app/saldisp.cxx
@@ -108,7 +108,7 @@ static int sal_Shift( Pixel nMask )
if( nMask < 0x01000000 ) { nMask <<= 8; i -= 8; }
if( nMask < 0x10000000 ) { nMask <<= 4; i -= 4; }
if( nMask < 0x40000000 ) { nMask <<= 2; i -= 2; }
- if( nMask < 0x80000000 ) { nMask <<= 1; i -= 1; }
+ if( nMask < 0x80000000 ) { i -= 1; }
return i;
}