aboutsummaryrefslogtreecommitdiff
path: root/src/strconv
diff options
context:
space:
mode:
authorcuiweixie <cuiweixie@gmail.com>2022-09-29 21:53:47 +0800
committerGopher Robot <gobot@golang.org>2022-09-30 01:40:34 +0000
commitf1f85f4ab549f9bbdf449ac272622d3ba133f4bc (patch)
tree578b6da3ca931df962c914bf2500ec4116c3a1cc /src/strconv
parent157e018fc3497994f4e51548310e8a84ea60c27e (diff)
downloadgo-f1f85f4ab549f9bbdf449ac272622d3ba133f4bc.tar.gz
go-f1f85f4ab549f9bbdf449ac272622d3ba133f4bc.zip
strconv: delete unused field
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>
Diffstat (limited to 'src/strconv')
-rw-r--r--src/strconv/ftoa.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/strconv/ftoa.go b/src/strconv/ftoa.go
index f602d0ffe6..fcbf4df13b 100644
--- a/src/strconv/ftoa.go
+++ b/src/strconv/ftoa.go
@@ -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