summaryrefslogtreecommitdiffstats
path: root/generic/tclStrToD.c
diff options
context:
space:
mode:
authorkennykb <kennykb@noemail.net>2011-01-15 19:01:31 (GMT)
committerkennykb <kennykb@noemail.net>2011-01-15 19:01:31 (GMT)
commitfce3d6efb1bdb6ec3f440302ea83f069cf2f6edf (patch)
tree0ab0387ae49ad442a676cb29b6a29ae52feb552a /generic/tclStrToD.c
parent73660cee196e056b9333df8e53148c994b177119 (diff)
downloadtcl-fce3d6efb1bdb6ec3f440302ea83f069cf2f6edf.zip
tcl-fce3d6efb1bdb6ec3f440302ea83f069cf2f6edf.tar.gz
tcl-fce3d6efb1bdb6ec3f440302ea83f069cf2f6edf.tar.bz2
Removed code that suppressed zeroes in a context where zeroes cannot appear.
FossilOrigin-Name: 12e11949ff4d1a84659b3aef0f4212e4a50ed8b0
Diffstat (limited to 'generic/tclStrToD.c')
-rwxr-xr-xgeneric/tclStrToD.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/generic/tclStrToD.c b/generic/tclStrToD.c
index 53ffedd..67c797f 100755
--- a/generic/tclStrToD.c
+++ b/generic/tclStrToD.c
@@ -12,7 +12,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclStrToD.c,v 1.53 2011/01/15 18:10:19 kennykb Exp $
+ * RCS: @(#) $Id: tclStrToD.c,v 1.54 2011/01/15 19:01:31 kennykb Exp $
*/
#include "tclInt.h"
@@ -3335,11 +3335,6 @@ ShorteningBignumConversionPowD(
*s++ = '9';
s = BumpUp(s, retval, &k);
break;
- } else if (mp_iszero(&b)) {
- while (*--s == '0') {
- /* do nothing */
- }
- ++s;
}
}