[Libreoffice-commits] core.git: package/source

Julien Nabet serval2412 at yahoo.fr
Sat Mar 23 14:28:10 PDT 2013


 package/source/zipapi/blowfishcontext.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 78eda507c8452e8f6d743427d56526a91b779790
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sat Mar 23 20:14:24 2013 +0100

    coverity#704243 Logically dead code
    
    Change-Id: Ie1140a90a6c9723582fa5e18ca0cf1dc1f918742
    Reviewed-on: https://gerrit.libreoffice.org/2942
    Reviewed-by: Thomas Arnhold <thomas at arnhold.org>
    Reviewed-by: Thorsten Behrens <tbehrens at suse.com>
    Tested-by: Thorsten Behrens <tbehrens at suse.com>

diff --git a/package/source/zipapi/blowfishcontext.cxx b/package/source/zipapi/blowfishcontext.cxx
index 6f43d54..0d6bd2c 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() ),


More information about the Libreoffice-commits mailing list