1
0
mirror of https://github.com/golang/go synced 2024-11-23 23:50:08 -07:00

strconv: apply Brad's review comment

Missed in CL 49253 because I submitted from the Gerrit UI and
had not mailed the latest copy. Sigh.

Change-Id: I540f960278df43e2eaf1aac188eb124a1ff240dd
Reviewed-on: https://go-review.googlesource.com/49256
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
This commit is contained in:
Russ Cox 2017-07-17 11:12:20 -04:00
parent 5ac16c6c76
commit 8bb88fdcc2

View File

@ -221,10 +221,10 @@ var (
)
func initAtof() {
atofOnce.Do(initAtof1)
atofOnce.Do(initAtofOnce)
}
func initAtof1() {
func initAtofOnce() {
// The atof routines return NumErrors wrapping
// the error and the string. Convert the table above.
for i := range atoftests {