connectivity/source/drivers/postgresql/pq_updateableresultset.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit ca6daf1477b12c995e95b65b535cec0e9c08b19f Author: Julien Nabet <serval2...@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 <egore...@gmail.com> Reviewed-by: Petr Mladek <pmla...@suse.cz> Tested-by: Petr Mladek <pmla...@suse.cz> Signed-off-by: Petr Mladek <pmla...@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 ); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits