summaryrefslogtreecommitdiff
path: root/ucb/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-05-05 09:59:06 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-05-05 17:35:08 +0200
commit9e57e164844e67faaf2b0424181c2df29e871992 (patch)
tree7932e66cc45c786e0055bea6603f4284ebb856fb /ucb/source
parent7fe756570fb4ab30f540d644fd5125a67c2d9ea9 (diff)
loplugin:unusedvariableplus
Change-Id: Id93086be1224b6f6bf0bdaa1d50b4f289099027e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133876 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'ucb/source')
-rw-r--r--ucb/source/ucp/webdav-curl/DAVSessionFactory.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/ucb/source/ucp/webdav-curl/DAVSessionFactory.cxx b/ucb/source/ucp/webdav-curl/DAVSessionFactory.cxx
index 1c1a220265bf..f2379d2cc33c 100644
--- a/ucb/source/ucp/webdav-curl/DAVSessionFactory.cxx
+++ b/ucb/source/ucp/webdav-curl/DAVSessionFactory.cxx
@@ -44,8 +44,6 @@ rtl::Reference< DAVSession > DAVSessionFactory::createDAVSession(
if ( aIt == m_aMap.end() )
{
- CurlUri const aURI( inUri );
-
std::unique_ptr< DAVSession > xElement(
new CurlSession(rxContext, this, inUri, rFlags, *m_xProxyDecider) );
@@ -65,11 +63,6 @@ rtl::Reference< DAVSession > DAVSessionFactory::createDAVSession(
osl_atomic_decrement( &aIt->second->m_nRefCount );
aIt->second->m_aContainerIt = m_aMap.end();
- // If URL scheme is different from http or https we definitely
- // have to use a proxy and therefore can optimize the getProxy
- // call a little:
- CurlUri const aURI( inUri );
-
aIt->second = new CurlSession(rxContext, this, inUri, rFlags, *m_xProxyDecider);
aIt->second->m_aContainerIt = aIt;
return aIt->second;