]> Cypherpunks repositories - gostls13.git/commitdiff
strconv: delete unused field
authorcuiweixie <cuiweixie@gmail.com>
Thu, 29 Sep 2022 13:53:47 +0000 (21:53 +0800)
committerGopher Robot <gobot@golang.org>
Fri, 30 Sep 2022 01:40:34 +0000 (01:40 +0000)
Change-Id: I1257270c55d69962988b6034e7341a9142a0c449
Reviewed-on: https://go-review.googlesource.com/c/go/+/436720
Auto-Submit: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Run-TryBot: Robert Griesemer <gri@google.com>
Run-TryBot: xie cui <523516579@qq.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
src/strconv/ftoa.go

index f602d0ffe6cc9b6a6060815f7de1b9406c7e4ca2..fcbf4df13b6dc9b13f2247255307da2649d9e34b 100644 (file)
@@ -373,7 +373,6 @@ func roundShortest(d *decimal, mant uint64, exp int, flt *floatInfo) {
 type decimalSlice struct {
        d      []byte
        nd, dp int
-       neg    bool
 }
 
 // %e: -d.ddddde±dd