diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2020-04-01 15:04:31 +0100 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2020-04-01 16:56:15 +0200 |
commit | 923cc749536013f4a11d96ab085c4e730e160d6d (patch) | |
tree | 24d7863976e4934f68276d28595de8c4cc6ba3fc /xmlsecurity | |
parent | 960c12bc7e64f70288385545a1555cebf315d534 (diff) |
Drop useless initialization immediately before reassignment
Change-Id: Id3d05de26ac9078a316de49ea2a5f6af26876107
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91507
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'xmlsecurity')
-rw-r--r-- | xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.cxx b/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.cxx index d296d885e0f3..0434d0b9d2d9 100644 --- a/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.cxx +++ b/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.cxx @@ -991,12 +991,10 @@ OUString SecurityEnvironment_MSCryptImpl::getSecurityEnvironmentInformation() xmlSecKeysMngrPtr SecurityEnvironment_MSCryptImpl::createKeysManager() { - xmlSecKeysMngrPtr pKeysMngr = nullptr ; - /*- * The following lines is based on the of xmlsec-mscrypto crypto engine */ - pKeysMngr = xmlsecurity::MSCryptoAppliedKeysMngrCreate() ; + xmlSecKeysMngrPtr pKeysMngr = xmlsecurity::MSCryptoAppliedKeysMngrCreate() ; if( pKeysMngr == nullptr ) throw uno::RuntimeException() ; |