From: Russ Cox Date: Sat, 6 Dec 2014 03:19:13 +0000 (-0500) Subject: [release-branch.go1.4] [release-branch.go1.4] encoding/xml: remove SyntaxError.Byte X-Git-Tag: go1.4~10 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=c139772a391fa0e25dd6ba26f9fae5b529b72e89;p=gostls13.git [release-branch.go1.4] [release-branch.go1.4] encoding/xml: remove SyntaxError.Byte ««« CL 182580043 / 2d1ab17a670a encoding/xml: remove SyntaxError.Byte It is unused. It was introduced in the CL that added InputOffset. I suspect it was an editing mistake. LGTM=bradfitz R=bradfitz CC=golang-codereviews https://golang.org/cl/182580043 »»» TBR=bradfitz CC=golang-codereviews https://golang.org/cl/180630043 --- diff --git a/src/encoding/xml/xml.go b/src/encoding/xml/xml.go index a4cd4e29e0..8c15b98c3a 100644 --- a/src/encoding/xml/xml.go +++ b/src/encoding/xml/xml.go @@ -29,7 +29,6 @@ import ( type SyntaxError struct { Msg string Line int - Byte int64 // byte offset from start of stream } func (e *SyntaxError) Error() string {