sal/rtl/source/cipher.cxx | 4 ---- 1 file changed, 4 deletions(-) New commits: commit 3c23dfb5d06bce5ebdd6886c1f879eadce1b0f6f Author: Olivier Hallot <olivier.hal...@alta.org.br> Date: Sun Aug 12 10:46:32 2012 -0300
Remove some dead assignements in sal/cipher.cxx Remove some dead assignements indicated by clang scan-build report. Thanks to John Smith clang investigation Patch corrected Change-Id: Icbee3a65b6753d45433f1a4ca30567675e27e6d9 diff --git a/sal/rtl/source/cipher.cxx b/sal/rtl/source/cipher.cxx index 29408b3..b5ff962 100644 --- a/sal/rtl/source/cipher.cxx +++ b/sal/rtl/source/cipher.cxx @@ -722,7 +722,6 @@ static rtlCipherError __rtl_cipherBF_init ( } } - D = DL = DR = 0; return rtl_Cipher_E_None; } @@ -865,7 +864,6 @@ static void __rtl_cipherBF_updateCBC ( ctx->m_iv.m_long[1] = IVR; RTL_CIPHER_HTONL64(DL, DR, pBuffer, nLength); - IVL = IVR = 0; } DL = DR = 0; } @@ -944,7 +942,6 @@ static void __rtl_cipherBF_encode ( *xl = XL; *xr = XR; - t = XL = XR = 0; } /* @@ -979,7 +976,6 @@ static void __rtl_cipherBF_decode ( *xl = XL; *xr = XR; - t = XL = XR = 0; } /* _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits