diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-01-28 22:24:01 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-01-28 22:24:01 +0100 |
commit | 61759a2f56ef98afa40f66ea70dfda06a5284952 (patch) | |
tree | 298e6716ebaa1b1c9443abfe3cea6d69a06ab41f /basic/source/sbx/sbxform.cxx | |
parent | cc5af8f131199e62fd6a8b7f1c1b0dfa78b3f24d (diff) |
cppcheck: remove unused variable dTemp and dPos.
Diffstat (limited to 'basic/source/sbx/sbxform.cxx')
-rw-r--r-- | basic/source/sbx/sbxform.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/basic/source/sbx/sbxform.cxx b/basic/source/sbx/sbxform.cxx index 182b4e7db37c..3e6aee717283 100644 --- a/basic/source/sbx/sbxform.cxx +++ b/basic/source/sbx/sbxform.cxx @@ -385,13 +385,11 @@ short SbxBasicFormater::GetDigitAtPos( double dNumber, short nPos, double& dNextNumber, BOOL& bFoundFirstDigit ) // ACHTUNG: nPos kann auch negativ werden, f"ur Stellen nach dem Dezimal-Punkt { - double dTemp = dNumber; - double dDigit,dPos; + double dDigit; short nMaxDigit; // erst mal aus der Zahl eine positive Zahl machen: dNumber = fabs( dNumber ); - dPos = (double)nPos; // "uberpr"ufe ob Zahl zu klein f"ur angegebene Stelle ist nMaxDigit = (short)get_number_of_digits( dNumber ); |