[Libreoffice-commits] core.git: comphelper/source dbaccess/source
Jochen Nitschke
j.nitschke+logerrit at ok.de
Mon Feb 20 06:05:35 UTC 2017
comphelper/source/eventattachermgr/eventattachermgr.cxx | 2 --
dbaccess/source/core/api/OptimisticSet.cxx | 1 -
2 files changed, 3 deletions(-)
New commits:
commit f5b09b48c239825e1e94cdfbddb6f0d240fc133a
Author: Jochen Nitschke <j.nitschke+logerrit at ok.de>
Date: Sun Feb 19 22:32:26 2017 +0100
cppcheck: unreadVariable
Change-Id: I701431f0346727cbb039f18ade55b5a98c97a135
Reviewed-on: https://gerrit.libreoffice.org/34438
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
diff --git a/comphelper/source/eventattachermgr/eventattachermgr.cxx b/comphelper/source/eventattachermgr/eventattachermgr.cxx
index 46be145..19328a7 100644
--- a/comphelper/source/eventattachermgr/eventattachermgr.cxx
+++ b/comphelper/source/eventattachermgr/eventattachermgr.cxx
@@ -397,8 +397,6 @@ void SAL_CALL ImplEventAttacherManager::registerScriptEvent
// Examine the index and apply the array
std::deque<AttacherIndex_Impl>::iterator aIt = implCheckIndex( nIndex );
- std::deque< AttachedObject_Impl > aList = (*aIt).aObjList;
-
ScriptEventDescriptor aEvt = ScriptEvent;
sal_Int32 nLastDot = aEvt.ListenerType.lastIndexOf('.');
if (nLastDot != -1)
diff --git a/dbaccess/source/core/api/OptimisticSet.cxx b/dbaccess/source/core/api/OptimisticSet.cxx
index 84c3e6f..e67b6e3 100644
--- a/dbaccess/source/core/api/OptimisticSet.cxx
+++ b/dbaccess/source/core/api/OptimisticSet.cxx
@@ -551,7 +551,6 @@ void OptimisticSet::fillMissingValues(ORowSetValueVector::Vector& io_aRow) const
{
TSQLStatements aSql;
TSQLStatements aKeyConditions;
- std::map< OUString,bool > aResultSetChanged;
OUString aQuote = getIdentifierQuoteString();
// here we build the condition part for the update statement
SelectColumnsMetaData::const_iterator aColIter = m_pColumnNames->begin();
More information about the Libreoffice-commits
mailing list