aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2014-12-05 22:19:13 -0500
committerRuss Cox <rsc@golang.org>2014-12-05 22:19:13 -0500
commitc139772a391fa0e25dd6ba26f9fae5b529b72e89 (patch)
tree4896f35c17e0c8a93c0709eaf6f2c69bf2134aeb
parentc009bcdd8bc3e8bb93dc295c9fc2ba371e26438e (diff)
downloadgo-c139772a391fa0e25dd6ba26f9fae5b529b72e89.tar.gz
go-c139772a391fa0e25dd6ba26f9fae5b529b72e89.zip
[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
-rw-r--r--src/encoding/xml/xml.go1
1 files changed, 0 insertions, 1 deletions
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 {