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

New commits:
commit 1ef8ab3ed7930cec2569ee576a409c7a6bbb42e9
Author: Caolán McNamara <caol...@redhat.com>
Date:   Sat Nov 12 12:23:08 2016 +0000

    coverity#1394295 Unchecked return value
    
    Change-Id: Ie4edbe91ab4f9b9910fc895e47ea8b9fdfc00b7e

diff --git a/connectivity/source/drivers/firebird/PreparedStatement.cxx 
b/connectivity/source/drivers/firebird/PreparedStatement.cxx
index 6ff2994..2885193 100644
--- a/connectivity/source/drivers/firebird/PreparedStatement.cxx
+++ b/connectivity/source/drivers/firebird/PreparedStatement.cxx
@@ -330,7 +330,7 @@ sal_Int64 toNumericWithoutDecimalPlace(const OUString& 
sSource)
     OUString sNumber(sSource);
 
     // cut off leading 0 eventually ( eg. 0.567 -> .567)
-    sSource.startsWith("0", &sNumber);
+    (void)sSource.startsWith("0", &sNumber);
 
     sal_Int32 nDotIndex = sNumber.indexOf((sal_Unicode)'.');
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to