From c139772a391fa0e25dd6ba26f9fae5b529b72e89 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Fri, 5 Dec 2014 22:19:13 -0500 Subject: [PATCH] [release-branch.go1.4] [release-branch.go1.4] encoding/xml: remove SyntaxError.Byte MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit ««« 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 --- src/encoding/xml/xml.go | 1 - 1 file changed, 1 deletion(-) 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 { -- 2.48.1