From: Russ Cox Date: Sat, 6 Dec 2014 02:33:07 +0000 (-0500) Subject: encoding/xml: remove SyntaxError.Byte X-Git-Tag: go1.5beta1~2683 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=94151eb2799809ece7e44ce3212aa3cbb9520849;p=gostls13.git 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 --- 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 {