[Libreoffice-commits] .: 2 commits - sal/rtl

Caolán McNamara caolan at kemper.freedesktop.org
Mon Oct 18 06:54:41 PDT 2010


 sal/rtl/source/cipher.c |    1 -
 sal/rtl/source/digest.c |    2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

New commits:
commit f7dc4d73859ba109a54d01f137241d7848a587cf
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Oct 18 14:38:26 2010 +0100

    CLang++ Dead increment

diff --git a/sal/rtl/source/digest.c b/sal/rtl/source/digest.c
index f02fd2b..8b12b68 100644
--- a/sal/rtl/source/digest.c
+++ b/sal/rtl/source/digest.c
@@ -706,7 +706,7 @@ static void __rtl_digest_endMD5 (DigestContextMD5 *ctx)
         case 0: X[i]  = ((sal_uInt32)(*(p++))) <<  0L;
         case 1: X[i] |= ((sal_uInt32)(*(p++))) <<  8L;
         case 2: X[i] |= ((sal_uInt32)(*(p++))) << 16L;
-        case 3: X[i] |= ((sal_uInt32)(*(p++))) << 24L;
+        case 3: X[i] |= ((sal_uInt32)(*p)) << 24L;
     }
 
     i += 1;
commit a821a55065af7f02c812786befef74644dc867db
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Oct 18 14:30:48 2010 +0100

    CLang++ Dead assignment

diff --git a/sal/rtl/source/cipher.c b/sal/rtl/source/cipher.c
index b6590a6..59442b1 100644
--- a/sal/rtl/source/cipher.c
+++ b/sal/rtl/source/cipher.c
@@ -905,7 +905,6 @@ static void __rtl_cipherBF_updateCFB (
         sal_uInt8 c = iv[k];
         iv[k] = *pData;
         *pBuffer = *pData ^ c;
-        c = 0;
     }
 
     ctx->m_offset = ((k + 1) & 0x07);


More information about the Libreoffice-commits mailing list