]> Cypherpunks repositories - gostls13.git/commitdiff
[release-branch.go1.4] [release-branch.go1.4] encoding/xml: remove SyntaxError.Byte
authorRuss Cox <rsc@golang.org>
Sat, 6 Dec 2014 03:19:13 +0000 (22:19 -0500)
committerRuss Cox <rsc@golang.org>
Sat, 6 Dec 2014 03:19:13 +0000 (22:19 -0500)
««« 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

index a4cd4e29e01300b7ecb9f10bebd82ffbba59671b..8c15b98c3a9efacf82f7e9de32f4770a913c5cc4 100644 (file)
@@ -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 {