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

Stephan Bergmann sbergman at redhat.com
Mon Dec 11 09:49:06 UTC 2017


 xmlsecurity/source/xmlsec/mscrypt/akmngr.cxx |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

New commits:
commit 50b0f93f3e15962125fdf6e8944b4140a208c727
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Sun Dec 10 23:11:45 2017 +0100

    loplugin:unnecessaryparen (clang-cl)
    
    Change-Id: I0c5f11f305fff61ccf849ec5bcc3a9218797f7f5
    Reviewed-on: https://gerrit.libreoffice.org/46199
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/xmlsecurity/source/xmlsec/mscrypt/akmngr.cxx b/xmlsecurity/source/xmlsec/mscrypt/akmngr.cxx
index 56560660eb99..b6c8a00dec98 100644
--- a/xmlsecurity/source/xmlsec/mscrypt/akmngr.cxx
+++ b/xmlsecurity/source/xmlsec/mscrypt/akmngr.cxx
@@ -138,7 +138,7 @@ xmlSecMSCryptoAppliedKeysMngrAdoptKeyStore(
                     "xmlSecKeysMngrGetDataStore",
                     XMLSEC_ERRORS_R_XMLSEC_FAILED,
                     XMLSEC_ERRORS_NO_MESSAGE) ;
-        return (-1) ;
+        return -1 ;
     }
 
     if (xmlSecMSCryptoX509StoreAdoptKeyStore(x509Store, keyStore) < 0)
@@ -148,7 +148,7 @@ xmlSecMSCryptoAppliedKeysMngrAdoptKeyStore(
                     "xmlSecMSCryptoX509StoreAdoptKeyStore",
                     XMLSEC_ERRORS_R_XMLSEC_FAILED,
                     XMLSEC_ERRORS_NO_MESSAGE) ;
-        return (-1) ;
+        return -1 ;
     }
 
     return 0 ;
@@ -173,7 +173,7 @@ xmlSecMSCryptoAppliedKeysMngrAdoptTrustedStore(
                     "xmlSecKeysMngrGetDataStore",
                     XMLSEC_ERRORS_R_XMLSEC_FAILED,
                     XMLSEC_ERRORS_NO_MESSAGE) ;
-        return (-1) ;
+        return -1 ;
     }
 
     if (xmlSecMSCryptoX509StoreAdoptTrustedStore(x509Store, trustedStore) < 0)
@@ -183,7 +183,7 @@ xmlSecMSCryptoAppliedKeysMngrAdoptTrustedStore(
                     "xmlSecMSCryptoX509StoreAdoptKeyStore",
                     XMLSEC_ERRORS_R_XMLSEC_FAILED,
                     XMLSEC_ERRORS_NO_MESSAGE) ;
-        return (-1) ;
+        return -1 ;
     }
 
     return 0 ;
@@ -208,7 +208,7 @@ xmlSecMSCryptoAppliedKeysMngrAdoptUntrustedStore(
                     "xmlSecKeysMngrGetDataStore",
                     XMLSEC_ERRORS_R_XMLSEC_FAILED,
                     XMLSEC_ERRORS_NO_MESSAGE) ;
-        return (-1) ;
+        return -1 ;
     }
 
     if (xmlSecMSCryptoX509StoreAdoptUntrustedStore(x509Store, untrustedStore) < 0)
@@ -218,7 +218,7 @@ xmlSecMSCryptoAppliedKeysMngrAdoptUntrustedStore(
                     "xmlSecMSCryptoX509StoreAdoptKeyStore",
                     XMLSEC_ERRORS_R_XMLSEC_FAILED,
                     XMLSEC_ERRORS_NO_MESSAGE) ;
-        return (-1) ;
+        return -1 ;
     }
 
     return 0 ;


More information about the Libreoffice-commits mailing list