-Werror,-Wunused-but-set-variable (clang-cl 13 trunk)
...since 362a21d3a1
"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>
This commit is contained in:
parent
3c5ac66e21
commit
9e6a7c043d
1 changed files with 0 additions and 2 deletions
|
@ -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() );
|
||||
|
|
Loading…
Reference in a new issue