Skip to content

Commit

Permalink
chore: clean up decode code (#178)
Browse files Browse the repository at this point in the history
  • Loading branch information
muktihari authored Apr 10, 2024
1 parent db589e5 commit 8b94fa9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions decoder/decoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -505,10 +505,6 @@ func (d *Decoder) decodeHeader() error {

func (d *Decoder) decodeMessages() error {
for d.cur < d.fileHeader.DataSize {
if d.n >= 41114 {
a := 10
_ = a
}
if err := d.decodeMessage(); err != nil {
return fmt.Errorf("decodeMessage [byte pos: %d]: %w", d.n, err)
}
Expand Down

0 comments on commit 8b94fa9

Please sign in to comment.