diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-10-23 16:31:29 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-10-24 09:24:52 +0100 |
commit | 5802eb3a61a413a0d3f7155d36940b1c7a18011e (patch) | |
tree | ad14651860fc47486350e8f19c215629ff1c78ce | |
parent | 07ff3d965f10a68bcae93ec216c269fbb7009a6b (diff) |
coverity#704228 'Constant' variable guards dead code
Change-Id: Ia3ccd40ae4a83b58f7d5986273c5bd7d8310b467
-rw-r--r-- | filter/source/graphicfilter/icgm/cgm.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/filter/source/graphicfilter/icgm/cgm.cxx b/filter/source/graphicfilter/icgm/cgm.cxx index ab8f74e1f0cd..335fec6821ba 100644 --- a/filter/source/graphicfilter/icgm/cgm.cxx +++ b/filter/source/graphicfilter/icgm/cgm.cxx @@ -194,15 +194,14 @@ double CGM::ImplGetFloat( RealPrecision eRealPrecision, sal_uInt32 nRealSize ) { void* pPtr; sal_uInt8 aBuf[8]; - bool bCompatible; double nRetValue; double fDoubleBuf; float fFloatBuf; #ifdef OSL_BIGENDIAN - bCompatible = true; + const bool bCompatible = true; #else - bCompatible = false; + const bool bCompatible = false; #endif if (mpSource + mnParaSize + nRealSize > mpEndValidSource) |