From: Brad Fitzpatrick Date: Thu, 12 Jun 2014 16:44:59 +0000 (-0700) Subject: encoding/json: remove unused field from Encoder struct X-Git-Tag: go1.4beta1~1305 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=e46be90feca7dfe0532027b08106675e26b93b35;p=gostls13.git encoding/json: remove unused field from Encoder struct It should've been removed in https://golang.org/cl/9365044 Thanks to Jacek Masiulaniec for noticing. LGTM=ruiu R=ruiu CC=golang-codereviews https://golang.org/cl/109880043 --- diff --git a/src/pkg/encoding/json/stream.go b/src/pkg/encoding/json/stream.go index 1cb289fd84..9566ecadcb 100644 --- a/src/pkg/encoding/json/stream.go +++ b/src/pkg/encoding/json/stream.go @@ -139,7 +139,6 @@ func nonSpace(b []byte) bool { // An Encoder writes JSON objects to an output stream. type Encoder struct { w io.Writer - e encodeState err error }