Skip to content

Commit

Permalink
byteReader: use built in max fn
Browse files Browse the repository at this point in the history
  • Loading branch information
davecheney committed Nov 2, 2023
1 parent c4c2691 commit f7701f8
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,3 @@ func (b *byteReader) compact() {
copy(b.data, b.data[b.offset:])
b.offset = 0
}

func max(a, b int) int {
if a > b {
return a
}
return b
}

0 comments on commit f7701f8

Please sign in to comment.