Kaydet (Commit) 78eda507 authored tarafından Julien Nabet's avatar Julien Nabet Kaydeden (comit) Thorsten Behrens

coverity#704243 Logically dead code

Change-Id: Ie1140a90a6c9723582fa5e18ca0cf1dc1f918742
Reviewed-on: https://gerrit.libreoffice.org/2942Reviewed-by: 's avatarThomas Arnhold <thomas@arnhold.org>
Reviewed-by: 's avatarThorsten Behrens <tbehrens@suse.com>
Tested-by: 's avatarThorsten Behrens <tbehrens@suse.com>
üst 620611fe
...@@ -72,7 +72,7 @@ uno::Sequence< sal_Int8 > SAL_CALL BlowfishCFB8CipherContext::convertWithCipherC ...@@ -72,7 +72,7 @@ uno::Sequence< sal_Int8 > SAL_CALL BlowfishCFB8CipherContext::convertWithCipherC
if ( m_bEncrypt ) if ( m_bEncrypt )
{ {
rtl_cipher_encode( m_pCipher, nError = rtl_cipher_encode( m_pCipher,
aData.getConstArray(), aData.getConstArray(),
aData.getLength(), aData.getLength(),
reinterpret_cast< sal_uInt8* >( aResult.getArray() ), reinterpret_cast< sal_uInt8* >( aResult.getArray() ),
...@@ -80,7 +80,7 @@ uno::Sequence< sal_Int8 > SAL_CALL BlowfishCFB8CipherContext::convertWithCipherC ...@@ -80,7 +80,7 @@ uno::Sequence< sal_Int8 > SAL_CALL BlowfishCFB8CipherContext::convertWithCipherC
} }
else else
{ {
rtl_cipher_decode( m_pCipher, nError = rtl_cipher_decode( m_pCipher,
aData.getConstArray(), aData.getConstArray(),
aData.getLength(), aData.getLength(),
reinterpret_cast< sal_uInt8* >( aResult.getArray() ), reinterpret_cast< sal_uInt8* >( aResult.getArray() ),
......
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