diff options
author | kennykb <kennykb@noemail.net> | 2011-01-15 19:01:31 (GMT) |
---|---|---|
committer | kennykb <kennykb@noemail.net> | 2011-01-15 19:01:31 (GMT) |
commit | fce3d6efb1bdb6ec3f440302ea83f069cf2f6edf (patch) | |
tree | 0ab0387ae49ad442a676cb29b6a29ae52feb552a /generic/tclStrToD.c | |
parent | 73660cee196e056b9333df8e53148c994b177119 (diff) | |
download | tcl-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-x | generic/tclStrToD.c | 7 |
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; } } |