[Libreoffice-commits] core.git: Branch 'libreoffice-4-0' - connectivity/source
Julien Nabet
serval2412 at yahoo.fr
Thu Mar 28 06:16:51 PDT 2013
connectivity/source/drivers/postgresql/pq_updateableresultset.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit ca6daf1477b12c995e95b65b535cec0e9c08b19f
Author: Julien Nabet <serval2412 at yahoo.fr>
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 <egore911 at gmail.com>
Reviewed-by: Petr Mladek <pmladek at suse.cz>
Tested-by: Petr Mladek <pmladek at suse.cz>
Signed-off-by: Petr Mladek <pmladek at suse.cz>
diff --git a/connectivity/source/drivers/postgresql/pq_updateableresultset.cxx b/connectivity/source/drivers/postgresql/pq_updateableresultset.cxx
index 3db0337..0321fb9 100644
--- a/connectivity/source/drivers/postgresql/pq_updateableresultset.cxx
+++ b/connectivity/source/drivers/postgresql/pq_updateableresultset.cxx
@@ -450,8 +450,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 );
}
More information about the Libreoffice-commits
mailing list