diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-10-26 19:06:41 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-10-26 19:06:41 +0200 |
commit | b1fa5e7a2c9d5fedaf07fc990d71707e6cf1ddf7 (patch) | |
tree | 91569dc9d6788fd7337272d5a8475063ff491b0c | |
parent | fb62c2c5252a0b25d22ceccbb07747048923a44a (diff) |
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
-rw-r--r-- | sal/osl/unx/file.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
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(); } |