diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-01-21 11:34:17 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-01-21 14:22:31 +0000 |
commit | 679ca2901460d55bbfe31515c60c6f996614f245 (patch) | |
tree | a3219bca1d1226e4e7b123a114cee52ee1186bf7 /sal/rtl/source/math.cxx | |
parent | 113a18833a0fd6456334ba43ecaa54cb8dc3b81f (diff) |
cppcheck: misc scope and unused variables
Diffstat (limited to 'sal/rtl/source/math.cxx')
-rw-r--r-- | sal/rtl/source/math.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/rtl/source/math.cxx b/sal/rtl/source/math.cxx index 3c0d5ef48b53..8f949b3bf3d8 100644 --- a/sal/rtl/source/math.cxx +++ b/sal/rtl/source/math.cxx @@ -1224,11 +1224,11 @@ double SAL_CALL rtl_math_erfc( double x ) SAL_THROW_EXTERN_C() */ double SAL_CALL rtl_math_asinh( double fX ) SAL_THROW_EXTERN_C() { - double fSign = 1.0; if ( fX == 0.0 ) return 0.0; else { + double fSign = 1.0; if ( fX < 0.0 ) { fX = - fX; |