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

Miklos Vajna vmiklos at collabora.co.uk
Fri Jun 29 08:19:31 UTC 2018


 xmlsecurity/source/xmlsec/xsec_xmlsec.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit cb000556d49ba4a9bdf7d9fb4d05069291a41665
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Fri Jun 29 10:18:58 2018 +0200

    xmlsecurity: fix -Werror,-Wunused-parameter (!HAVE_FEATURE_GPGME case)
    
    Change-Id: I3c10b9eca3efb90a8f0e4c35bd71512f321a05fd

diff --git a/xmlsecurity/source/xmlsec/xsec_xmlsec.cxx b/xmlsecurity/source/xmlsec/xsec_xmlsec.cxx
index 038af38f6726..aeee89391c01 100644
--- a/xmlsecurity/source/xmlsec/xsec_xmlsec.cxx
+++ b/xmlsecurity/source/xmlsec/xsec_xmlsec.cxx
@@ -50,6 +50,8 @@ SAL_DLLPUBLIC_EXPORT void* xsec_xmlsec_component_getFactory( const sal_Char* pIm
         {
             xFactory = SEInitializerGpg::impl_createFactory( static_cast< XMultiServiceFactory* >( pServiceManager ) ) ;
         }
+#else
+        (void)pServiceManager;
 #endif
     }
 


More information about the Libreoffice-commits mailing list