summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-01-28 22:24:01 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-01-28 22:24:01 +0100
commitd043db1911a041170819a02a460c8b3ff78176b4 (patch)
tree4bcece178373f499eccdc61192ac1d084779f99d /basic
parente7e601d344392d0a22c8aae6a5b0048e8116423d (diff)
cppcheck: remove unused variable dTemp and dPos.
Diffstat (limited to 'basic')
-rw-r--r--basic/source/sbx/sbxform.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/basic/source/sbx/sbxform.cxx b/basic/source/sbx/sbxform.cxx
index 533de965db..33c6ae3c4a 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 );