[Libreoffice-commits] core.git: dbaccess/source

Michael Weghorn m.weghorn at posteo.de
Sun Dec 14 04:07:52 PST 2014


 dbaccess/source/core/api/OptimisticSet.cxx |    3 ---
 1 file changed, 3 deletions(-)

New commits:
commit c70d907c6bac7720338207355e41724ba1e97781
Author: Michael Weghorn <m.weghorn at posteo.de>
Date:   Fri Dec 12 22:44:23 2014 +0100

    fdo#39440 remove unused variables
    
    This addresses 3 cppcheck "unusedVariable" warnings.
    
    Change-Id: I2bf566458b84f34422cee08a3814ad5b04955e50
    Reviewed-on: https://gerrit.libreoffice.org/13460
    Reviewed-by: Noel Grandin <noelgrandin at gmail.com>
    Tested-by: Noel Grandin <noelgrandin at gmail.com>

diff --git a/dbaccess/source/core/api/OptimisticSet.cxx b/dbaccess/source/core/api/OptimisticSet.cxx
index d3a3235..f48c0b1 100644
--- a/dbaccess/source/core/api/OptimisticSet.cxx
+++ b/dbaccess/source/core/api/OptimisticSet.cxx
@@ -184,7 +184,6 @@ void SAL_CALL OptimisticSet::updateRow(const ORowSetRow& _rInsertRow ,const ORow
 
     ::std::map< OUString,bool > aResultSetChanged;
     TSQLStatements aKeyConditions;
-    TSQLStatements aIndexConditions;
     TSQLStatements aSql;
 
     // here we build the condition part for the update statement
@@ -349,8 +348,6 @@ void SAL_CALL OptimisticSet::deleteRow(const ORowSetRow& _rDeleteRow,const conne
 {
     OUString aQuote  = getIdentifierQuoteString();
     TSQLStatements aKeyConditions;
-    TSQLStatements aIndexConditions;
-    TSQLStatements aSql;
 
     // here we build the condition part for the update statement
     SelectColumnsMetaData::const_iterator aIter = m_pColumnNames->begin();


More information about the Libreoffice-commits mailing list