[Libreoffice-commits] .: dbaccess/source

Caolán McNamara caolan at kemper.freedesktop.org
Fri Jan 28 01:17:51 PST 2011


 dbaccess/source/core/api/HelperCollections.cxx |    1 +
 dbaccess/source/core/api/RowSetBase.cxx        |    1 +
 2 files changed, 2 insertions(+)

New commits:
commit 8a7aeb5078dc2de3348243928a869fc20fd3c015
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Jan 28 09:17:32 2011 +0000

    WaE: gcc 4.6.0 various warnings

diff --git a/dbaccess/source/core/api/HelperCollections.cxx b/dbaccess/source/core/api/HelperCollections.cxx
index b474493..9bfc643 100644
--- a/dbaccess/source/core/api/HelperCollections.cxx
+++ b/dbaccess/source/core/api/HelperCollections.cxx
@@ -109,6 +109,7 @@ namespace dbaccess
             OSQLTables::iterator aIter = m_aTables.find(_rName);
             OSL_ENSURE(aIter != m_aTables.end(),"Table not found!");
             OSL_ENSURE(aIter->second.is(),"Table is null!");
+            (void)aIter;
             return connectivity::sdbcx::ObjectType(m_aTables.find(_rName)->second,UNO_QUERY);
         }
         return NULL;
diff --git a/dbaccess/source/core/api/RowSetBase.cxx b/dbaccess/source/core/api/RowSetBase.cxx
index 492302f..0531efe 100644
--- a/dbaccess/source/core/api/RowSetBase.cxx
+++ b/dbaccess/source/core/api/RowSetBase.cxx
@@ -1383,6 +1383,7 @@ void ORowSetBase::positionCache( CursorMoveDirection _ePrepareForDirection )
         }
     }
     OSL_ENSURE( bSuccess, "ORowSetBase::positionCache: failed!" );
+    (void)bSuccess;
 
     DBG_TRACE2("DBACCESS ORowSetBase::positionCache() Clone = %i ID = %i\n",m_bClone,osl_getThreadIdentifier(NULL));
 }


More information about the Libreoffice-commits mailing list