]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/gc: remove ignored debugging arguments in Fconv print
authorRuss Cox <rsc@golang.org>
Thu, 7 Aug 2014 12:17:41 +0000 (08:17 -0400)
committerRuss Cox <rsc@golang.org>
Thu, 7 Aug 2014 12:17:41 +0000 (08:17 -0400)
LGTM=dave
R=golang-codereviews, dave
CC=golang-codereviews
https://golang.org/cl/123880043

src/cmd/gc/mparith1.c

index 1519caec7a68f17487fab0c0eb1088d920ced0ed..d33a81e09d7ee38094cdcd4505fd41cbd2a94135 100644 (file)
@@ -591,7 +591,7 @@ Fconv(Fmt *fp)
                        d = mpgetflt(fvp);
                        if(d >= 0 && (fp->flags & FmtSign))
                                fmtprint(fp, "+");
-                       return fmtprint(fp, "%g", d, exp, fvp);
+                       return fmtprint(fp, "%g", d);
                }
                
                // very out of range. compute decimal approximation by hand.