diff options
| author | Russ Cox <rsc@golang.org> | 2014-12-05 21:33:07 -0500 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2014-12-05 21:33:07 -0500 |
| commit | 94151eb2799809ece7e44ce3212aa3cbb9520849 (patch) | |
| tree | 1bc02c48b2f448ebb2aef49c30caf90b2bfafc0c /src/encoding/xml | |
| parent | 31457cef6d6550fff53dd5a80cb276ffa58093c5 (diff) | |
| download | go-94151eb2799809ece7e44ce3212aa3cbb9520849.tar.xz | |
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
Diffstat (limited to 'src/encoding/xml')
| -rw-r--r-- | src/encoding/xml/xml.go | 1 |
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 { |
