diff options
author | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-08-12 10:46:32 -0300 |
---|---|---|
committer | Cédric Bosdonnat <cedric.bosdonnat@free.fr> | 2012-08-14 16:22:09 +0200 |
commit | 3c23dfb5d06bce5ebdd6886c1f879eadce1b0f6f (patch) | |
tree | c908300eac015638aac19b4b806c67e173123c4e /sal | |
parent | warning C4702: unreachable code (diff) | |
download | core-3c23dfb5d06bce5ebdd6886c1f879eadce1b0f6f.tar.gz core-3c23dfb5d06bce5ebdd6886c1f879eadce1b0f6f.zip |
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
Diffstat (limited to 'sal')
-rw-r--r-- | sal/rtl/source/cipher.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
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; } /* |