summaryrefslogtreecommitdiff
path: root/package/source/zipapi
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-03-23 20:14:24 +0100
committerThorsten Behrens <tbehrens@suse.com>2013-03-23 21:27:50 +0000
commit78eda507c8452e8f6d743427d56526a91b779790 (patch)
treef1e7762e0321792250900f599ef6865fb52d19d7 /package/source/zipapi
parent620611fe91970f073297f72a6d0605d7c7bd8943 (diff)
coverity#704243 Logically dead code
Change-Id: Ie1140a90a6c9723582fa5e18ca0cf1dc1f918742 Reviewed-on: https://gerrit.libreoffice.org/2942 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Reviewed-by: Thorsten Behrens <tbehrens@suse.com> Tested-by: Thorsten Behrens <tbehrens@suse.com>
Diffstat (limited to 'package/source/zipapi')
-rw-r--r--package/source/zipapi/blowfishcontext.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/source/zipapi/blowfishcontext.cxx b/package/source/zipapi/blowfishcontext.cxx
index 6f43d5454941..0d6bd2c8d90e 100644
--- a/package/source/zipapi/blowfishcontext.cxx
+++ b/package/source/zipapi/blowfishcontext.cxx
@@ -72,7 +72,7 @@ uno::Sequence< sal_Int8 > SAL_CALL BlowfishCFB8CipherContext::convertWithCipherC
if ( m_bEncrypt )
{
- rtl_cipher_encode( m_pCipher,
+ nError = rtl_cipher_encode( m_pCipher,
aData.getConstArray(),
aData.getLength(),
reinterpret_cast< sal_uInt8* >( aResult.getArray() ),
@@ -80,7 +80,7 @@ uno::Sequence< sal_Int8 > SAL_CALL BlowfishCFB8CipherContext::convertWithCipherC
}
else
{
- rtl_cipher_decode( m_pCipher,
+ nError = rtl_cipher_decode( m_pCipher,
aData.getConstArray(),
aData.getLength(),
reinterpret_cast< sal_uInt8* >( aResult.getArray() ),