From 8b94fa933ac5cca0285f30d1a0409e21f2c21c89 Mon Sep 17 00:00:00 2001 From: Hari Mukti Date: Wed, 10 Apr 2024 22:44:44 +0700 Subject: [PATCH] chore: clean up decode code (#178) --- decoder/decoder.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/decoder/decoder.go b/decoder/decoder.go index 98a95c15..5a6307c2 100644 --- a/decoder/decoder.go +++ b/decoder/decoder.go @@ -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) }