Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
beevik committed May 8, 2023
1 parent f3a9cfe commit 2a0c46b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion etree_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ func TestImbalancedXML(t *testing.T) {

func TestDocumentReadNonUTF8Encodings(t *testing.T) {
s := `<?xml version="1.0" encoding="ISO-8859-1"?>
<store>
store>
<book lang="en">
<title>Great Expectations</title>
<author>Charles Dickens</author>
Expand Down
2 changes: 0 additions & 2 deletions helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,6 @@ type xmlReader struct {
bytes int64
}

var cdataPrefix = []byte("<![CDATA[")

func newXmlReader(r io.Reader) *xmlReader {
return &xmlReader{r, 0}
}
Expand Down

0 comments on commit 2a0c46b

Please sign in to comment.