[Libreoffice-commits] core.git: sal/osl

Stephan Bergmann sbergman at redhat.com
Thu Oct 26 17:09:38 UTC 2017


 sal/osl/unx/file.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit b1fa5e7a2c9d5fedaf07fc990d71707e6cf1ddf7
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Oct 26 19:06:41 2017 +0200

    cid#1420316: Try silence CONSTANT_EXPRESSION_RESULT
    
    (or does the comment need to go exactly at the line before the one containing
    the "return" token?)
    
    Change-Id: I5f92e59ee05d0b5ba3d6bda775e6ca02f185dbe8

diff --git a/sal/osl/unx/file.cxx b/sal/osl/unx/file.cxx
index b1383c2d0f9c..b97e157c29be 100644
--- a/sal/osl/unx/file.cxx
+++ b/sal/osl/unx/file.cxx
@@ -1151,6 +1151,7 @@ namespace {
 //coverity[result_independent_of_operands]
 template<typename T> bool exceedsMaxOffT(T n) { return n > MAX_OFF_T; }
 
+//coverity[result_independent_of_operands]
 template<typename T> bool exceedsMinOffT(T n)
 { return n < std::numeric_limits<off_t>::min(); }
 


More information about the Libreoffice-commits mailing list