diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-11-01 16:14:52 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-11-01 21:02:10 +0000 |
commit | 0f6e4e7fd95e23927d4aac45153a15872b32f5fd (patch) | |
tree | 361c69f675a9173db838bd704e4d4da6517a3db4 /tools | |
parent | eed1ea797acfe69af587adbefe60316ba6ba127f (diff) |
coverity#1250404 Operands don't affect result
trying to auto-ignore this one, so don't touch it manually in the UI so I can
experiment if this syntax will correctly auto-triage in all coverity instances
Change-Id: I4ae42a6828041f40c6ab8cb3cfc631c8dd38e8c8
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/generic/fract.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/source/generic/fract.cxx b/tools/source/generic/fract.cxx index 7102d5ac281b..f3f7d2385f0f 100644 --- a/tools/source/generic/fract.cxx +++ b/tools/source/generic/fract.cxx @@ -63,6 +63,7 @@ Fraction::Fraction( double dVal ) bool Fraction::HasOverflowValue() { + //coverity[constant_expression_result] return value.numerator() < std::numeric_limits<long>::min() || value.numerator() > std::numeric_limits<long>::max() || value.denominator() < std::numeric_limits<long>::min() || |