From f578e9d3c6255a5dd511e80f123a126523ff3c06 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Fri, 5 Dec 2014 21:33:07 -0500 Subject: 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://codereview.appspot.com/182580043 --- 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 a4cd4e29e..8c15b98c3 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 { -- cgit v1.2.1