Skip to content

Commit

Permalink
Remove erroneous copy-paste artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Crawford committed Dec 24, 2020
1 parent 25dccfa commit c42d982
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions music/tracked/xm/xm.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@ type File struct {

// Read reads an XM file from the reader `r` and creates an internal File representation
func Read(r io.Reader) (*File, error) {
buffer := &bytes.Buffer{}
if _, err := buffer.ReadFrom(r); err != nil {
return nil, err
}

xmh, err := readHeader(r)
if err != nil {
return nil, err
Expand Down

0 comments on commit c42d982

Please sign in to comment.