From f59d9e7ea09482c2e9e5f52a8d0445e4cebc3df5 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 3 Apr 2020 15:53:49 +0200 Subject: new loplugin:unusedvariableplus a particularly aggressive checker, which is why it is off by default Change-Id: Id5a0faa50b3ecc75e01f4aedc6579c5209e585da Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91643 Tested-by: Jenkins Reviewed-by: Noel Grandin --- desktop/source/deployment/registry/configuration/dp_configuration.cxx | 1 - desktop/source/deployment/registry/dp_backenddb.cxx | 1 - 2 files changed, 2 deletions(-) (limited to 'desktop') diff --git a/desktop/source/deployment/registry/configuration/dp_configuration.cxx b/desktop/source/deployment/registry/configuration/dp_configuration.cxx index ca11affbca7c..9b7d4386fec5 100644 --- a/desktop/source/deployment/registry/configuration/dp_configuration.cxx +++ b/desktop/source/deployment/registry/configuration/dp_configuration.cxx @@ -324,7 +324,6 @@ Reference BackendImpl::bindPackage_( name = StrTitle::getTitle( ucbContent ); } - ::ucbhelper::Content ucbContent( url, xCmdEnv, m_xComponentContext ); if (subType.equalsIgnoreAsciiCase( "vnd.sun.star.configuration-data")) { return new PackageImpl( diff --git a/desktop/source/deployment/registry/dp_backenddb.cxx b/desktop/source/deployment/registry/dp_backenddb.cxx index 8ee51be6bc28..edc64b1996ef 100644 --- a/desktop/source/deployment/registry/dp_backenddb.cxx +++ b/desktop/source/deployment/registry/dp_backenddb.cxx @@ -275,7 +275,6 @@ void BackendDb::writeVectorOfPair( OSL_ASSERT(!sNameSpace.isEmpty()); const OUString sPrefix(getNSPrefix() + ":"); const Reference doc = getDocument(); - const Reference root = doc->getFirstChild(); const Reference vectorNode( doc->createElementNS(sNameSpace, sPrefix + sVectorTagName)); -- cgit