From 3c23dfb5d06bce5ebdd6886c1f879eadce1b0f6f Mon Sep 17 00:00:00 2001 From: Olivier Hallot Date: Sun, 12 Aug 2012 10:46:32 -0300 Subject: 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 --- sal/rtl/source/cipher.cxx | 4 ---- 1 file changed, 4 deletions(-) (limited to 'sal') diff --git a/sal/rtl/source/cipher.cxx b/sal/rtl/source/cipher.cxx index 29408b362191..b5ff96291862 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; } /* -- cgit