summaryrefslogtreecommitdiff
path: root/xmlsecurity
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2021-06-25 09:53:33 +0200
committerStephan Bergmann <sbergman@redhat.com>2021-06-25 21:12:43 +0200
commit9e6a7c043d2b19ffc870ab283ac29850447a9cd2 (patch)
tree83e7f8fdd38cb5375fb4a9c83f141576845ccf2f /xmlsecurity
parent3c5ac66e21bc3b0efffe44743fbb5289da85a4f6 (diff)
-Werror,-Wunused-but-set-variable (clang-cl 13 trunk)
...since 362a21d3a129b90149f6ef645c127f5e86e0ba61 "Use explicit function names for fooA/fooW WinAPI; prefer fooW" Change-Id: I391ae19b01625602231fbd890ee79073367cb449 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117834 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'xmlsecurity')
-rw-r--r--xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.cxx b/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.cxx
index ff6bc2f319e4..0a4d9191f366 100644
--- a/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.cxx
+++ b/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.cxx
@@ -383,10 +383,8 @@ uno::Reference< XCertificate > SecurityEnvironment_MSCryptImpl::getCertificate(
CERT_INFO certInfo ;
// for correct encoding
- sal_uInt16 encoding ;
rtl_Locale *pLocale = nullptr ;
osl_getProcessLocale( &pLocale ) ;
- encoding = osl_getTextEncodingFromLocale( pLocale ) ;
//Create cert info from issue and serial
LPCWSTR pszName = o3tl::toW( issuerName.getStr() );