connectivity/source/drivers/postgresql/pq_updateableresultset.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 5ce754ad4b08586f87c30b6ab30047de698329a9
Author: Julien Nabet <[email protected]>
Date:   Tue Mar 26 21:03:47 2013 +0100

    coverity#982290 Logically dead code
    
    Change-Id: Ia684369faa5fd0eb854d204ac7e8dbf74f032606
    Reviewed-on: https://gerrit.libreoffice.org/3067
    Reviewed-by: Christoph Brill <[email protected]>
    Reviewed-by: Petr Mladek <[email protected]>
    Tested-by: Petr Mladek <[email protected]>

diff --git a/connectivity/source/drivers/postgresql/pq_updateableresultset.cxx 
b/connectivity/source/drivers/postgresql/pq_updateableresultset.cxx
index ac8b50db..dbbec1e 100644
--- a/connectivity/source/drivers/postgresql/pq_updateableresultset.cxx
+++ b/connectivity/source/drivers/postgresql/pq_updateableresultset.cxx
@@ -448,8 +448,7 @@ void UpdateableResultSet::updateBoolean( sal_Int32 
columnIndex, sal_Bool x ) thr
     checkUpdate( columnIndex );
 
     Statics &st = getStatics();
-    if( x )
-        m_updateableField[columnIndex-1].value <<=  ( x ? st.TRUE : st.FALSE );
+    m_updateableField[columnIndex-1].value <<=  ( x ? st.TRUE : st.FALSE );
 
 }
 
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to