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

Caolán McNamara caolanm at redhat.com
Tue Jul 21 07:04:50 PDT 2015


 connectivity/source/drivers/file/FResultSet.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5c938857c4bf69eb65b77ff3a862f50ab4a04af7
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Jul 21 15:03:03 2015 +0100

    coverity#1312084 Unchecked return value
    
    Change-Id: I4b4b263f4448c4d3b83cea57635624b31f757576

diff --git a/connectivity/source/drivers/file/FResultSet.cxx b/connectivity/source/drivers/file/FResultSet.cxx
index 9433b1e..9f61747 100644
--- a/connectivity/source/drivers/file/FResultSet.cxx
+++ b/connectivity/source/drivers/file/FResultSet.cxx
@@ -539,7 +539,7 @@ void SAL_CALL OResultSet::insertRow(  ) throw(SQLException, RuntimeException, st
 
     // we know that we append new rows at the end
     // so we have to know where the end is
-    m_aSkipDeletedSet.skipDeleted(IResultSetHelper::LAST,1,false);
+    (void)m_aSkipDeletedSet.skipDeleted(IResultSetHelper::LAST,1,false);
     m_bRowInserted = m_pTable->InsertRow(*m_aInsertRow, true, m_xColsIdx);
     if(m_bRowInserted && m_pFileSet.is())
     {


More information about the Libreoffice-commits mailing list