Kaydet (Commit) 5802eb3a authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#704228 'Constant' variable guards dead code

Change-Id: Ia3ccd40ae4a83b58f7d5986273c5bd7d8310b467
üst 07ff3d96
...@@ -194,15 +194,14 @@ double CGM::ImplGetFloat( RealPrecision eRealPrecision, sal_uInt32 nRealSize ) ...@@ -194,15 +194,14 @@ double CGM::ImplGetFloat( RealPrecision eRealPrecision, sal_uInt32 nRealSize )
{ {
void* pPtr; void* pPtr;
sal_uInt8 aBuf[8]; sal_uInt8 aBuf[8];
bool bCompatible;
double nRetValue; double nRetValue;
double fDoubleBuf; double fDoubleBuf;
float fFloatBuf; float fFloatBuf;
#ifdef OSL_BIGENDIAN #ifdef OSL_BIGENDIAN
bCompatible = true; const bool bCompatible = true;
#else #else
bCompatible = false; const bool bCompatible = false;
#endif #endif
if (mpSource + mnParaSize + nRealSize > mpEndValidSource) if (mpSource + mnParaSize + nRealSize > mpEndValidSource)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment