From 09d4fe3275d089e7200b67bacaf415ed9aa249c7 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 27 Nov 2015 18:17:50 +0100 Subject: -Werror,-Wunused-function Change-Id: I3a39ca3a653f16799be1c4cc598f3b9e127e0569 --- xmlsecurity/source/xmlsec/nss/nssinitializer.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xmlsecurity/source/xmlsec/nss/nssinitializer.cxx b/xmlsecurity/source/xmlsec/nss/nssinitializer.cxx index b7276688f034..2ddcb83fae5d 100644 --- a/xmlsecurity/source/xmlsec/nss/nssinitializer.cxx +++ b/xmlsecurity/source/xmlsec/nss/nssinitializer.cxx @@ -104,6 +104,8 @@ struct GetNSSInitStaticMutex } }; +#ifdef XMLSEC_CRYPTO_NSS + void deleteRootsModule() { SECMODModule *RootsModule = nullptr; @@ -217,6 +219,8 @@ OString getMozillaCurrentProfile( const css::uno::Reference< css::uno::XComponen return OString(); } +#endif + //Older versions of Firefox (FF), for example FF2, and Thunderbird (TB) 2 write //the roots certificate module (libnssckbi.so), which they use, into the //profile. This module will then already be loaded during NSS_Init (and the -- cgit