]> Cypherpunks repositories - gostls13.git/commit
context: fix lint warning “drop = 0 from declaration”
authorMichael Stapelberg <stapelberg@google.com>
Wed, 30 Aug 2017 14:50:13 +0000 (07:50 -0700)
committerIan Lance Taylor <iant@golang.org>
Wed, 30 Aug 2017 17:06:30 +0000 (17:06 +0000)
commit2915e44dac0b51bf2ce35900532d5af65288aadb
treea7363558d9a2ed706b3a66f42f90f1db2b15ae5c
parent782ee23884b7f812ab3191b9d839955493d27c73
context: fix lint warning “drop = 0 from declaration”

Previously, the suggested code would result in the following golint warning:
“should drop = 0 from declaration of var errorsOnlyKey; it is the zero value”

Change-Id: I1a302c1e40ca89acbc76897e39097ecd04865460
Reviewed-on: https://go-review.googlesource.com/60290
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/context/context.go