diff options
author | Tor Lillqvist <tml@collabora.com> | 2016-06-28 13:40:25 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2016-06-28 13:47:20 +0300 |
commit | b5dfe9b95fa0f995542c151d8e1b79a03e91c626 (patch) | |
tree | 7abb042754d6bd9f0c52e9aec107583e2815c12b /tools | |
parent | c7b9b9204ce2b3c1e0dbc0d79e4e01d27ad2ac7e (diff) |
Drop overflow warning that was produced repeatedly on Windows
I see hundreds of the "'operator *=' detected overflow" warnings on
Windows doing perfectly normal things. The call site for those
explicitly checks anyway for an invalid (overflowed) result.
(Sure, there might be other call sites where the warning possibly had
some degree of usefulness because an overflowed result is not checked
for. I am willing to take the risk.)
Change-Id: Ie88ad11d159ee7aa505c22633a7e2cda1246ff31
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/generic/fract.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/source/generic/fract.cxx b/tools/source/generic/fract.cxx index 12530c7f7d42..78069a54fb53 100644 --- a/tools/source/generic/fract.cxx +++ b/tools/source/generic/fract.cxx @@ -182,7 +182,6 @@ Fraction& Fraction::operator *= ( const Fraction& rVal ) if ( HasOverflowValue() ) { mpImpl->valid = false; - SAL_WARN( "tools.fraction", "'operator *=' detected overflow" ); } return *this; |