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

Miklos Vajna vmiklos at collabora.co.uk
Thu Jun 22 07:03:11 UTC 2017


 xmlsecurity/source/gpg/SecurityEnvironment.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 6025b2b2e2c8342c9d4da7517748552fe406fdbe
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Thu Jun 22 09:02:44 2017 +0200

    xmlsecurity: fix loplugin:unusedvariablecheck warning
    
    Change-Id: Ia59a1f00203fbbaad6df460c7cba4a984e206a1c

diff --git a/xmlsecurity/source/gpg/SecurityEnvironment.cxx b/xmlsecurity/source/gpg/SecurityEnvironment.cxx
index 2b8a2d567afd..9892ec6ac5c8 100644
--- a/xmlsecurity/source/gpg/SecurityEnvironment.cxx
+++ b/xmlsecurity/source/gpg/SecurityEnvironment.cxx
@@ -93,7 +93,6 @@ Sequence< Reference < XCertificate > > SecurityEnvironmentGpg::getPersonalCertif
 Reference< XCertificate > SecurityEnvironmentGpg::getCertificate( const OUString& issuerName, const Sequence< sal_Int8 >& /*serialNumber*/ )
 {
     CertificateImpl* xCert=nullptr;
-    std::list< CertificateImpl* > certsList;
 
     m_ctx->setKeyListMode(GPGME_KEYLIST_MODE_LOCAL);
     OString ostr = OUStringToOString( issuerName , RTL_TEXTENCODING_UTF8 );


More information about the Libreoffice-commits mailing list