cppcheck: unreadVariable

Change-Id: I701431f0346727cbb039f18ade55b5a98c97a135
Reviewed-on: https://gerrit.libreoffice.org/34438
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
Jochen Nitschke
2017-02-19 22:32:26 +01:00
committed by Noel Grandin
parent 696479aafa
commit f5b09b48c2
2 changed files with 0 additions and 3 deletions

View File

@@ -397,8 +397,6 @@ void SAL_CALL ImplEventAttacherManager::registerScriptEvent
// Examine the index and apply the array // Examine the index and apply the array
std::deque<AttacherIndex_Impl>::iterator aIt = implCheckIndex( nIndex ); std::deque<AttacherIndex_Impl>::iterator aIt = implCheckIndex( nIndex );
std::deque< AttachedObject_Impl > aList = (*aIt).aObjList;
ScriptEventDescriptor aEvt = ScriptEvent; ScriptEventDescriptor aEvt = ScriptEvent;
sal_Int32 nLastDot = aEvt.ListenerType.lastIndexOf('.'); sal_Int32 nLastDot = aEvt.ListenerType.lastIndexOf('.');
if (nLastDot != -1) if (nLastDot != -1)

View File

@@ -551,7 +551,6 @@ void OptimisticSet::fillMissingValues(ORowSetValueVector::Vector& io_aRow) const
{ {
TSQLStatements aSql; TSQLStatements aSql;
TSQLStatements aKeyConditions; TSQLStatements aKeyConditions;
std::map< OUString,bool > aResultSetChanged;
OUString aQuote = getIdentifierQuoteString(); OUString aQuote = getIdentifierQuoteString();
// here we build the condition part for the update statement // here we build the condition part for the update statement
SelectColumnsMetaData::const_iterator aColIter = m_pColumnNames->begin(); SelectColumnsMetaData::const_iterator aColIter = m_pColumnNames->begin();