summaryrefslogtreecommitdiffstats
path: root/generic/tclStrToD.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2015-06-24 14:45:45 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2015-06-24 14:45:45 (GMT)
commit44290f91852589c021dfaf615ad7b5334f50660f (patch)
tree715c898837afa772652c25755dd411302a712737 /generic/tclStrToD.c
parentdd86878ece9accdecdd6aa124e08b2a255da55b7 (diff)
parentb358a0b815c16a175c7861aa6cbb08b9ca211cb4 (diff)
downloadtcl-44290f91852589c021dfaf615ad7b5334f50660f.zip
tcl-44290f91852589c021dfaf615ad7b5334f50660f.tar.gz
tcl-44290f91852589c021dfaf615ad7b5334f50660f.tar.bz2
merge trunk
Diffstat (limited to 'generic/tclStrToD.c')
-rw-r--r--generic/tclStrToD.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/generic/tclStrToD.c b/generic/tclStrToD.c
index a18c8ef..6da1f04 100644
--- a/generic/tclStrToD.c
+++ b/generic/tclStrToD.c
@@ -1728,7 +1728,7 @@ RefineApproximation(
double quot; /* Correction term. */
double minincr; /* Lower bound on the absolute value of the
* correction term. */
- int roundToEven; /* Flag == TRUE if we need to invoke
+ int roundToEven = 0; /* Flag == TRUE if we need to invoke
* "round to even" functionality */
double rteSignificand; /* Significand of the round-to-even result */
int rteExponent; /* Exponent of the round-to-even result */
@@ -1845,7 +1845,6 @@ RefineApproximation(
roundToEven = 1;
break;
case MP_GT:
- roundToEven = 0;
break;
}