Skip to content

Commit 7787431

Browse files
BbulatovМарк Булатов
and
Марк Булатов
authored
zstd: fix unused debug code (#1052)
Co-authored-by: Марк Булатов <[email protected]>
1 parent 0bf3ecb commit 7787431

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zstd/enc_base.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ func (e *fastBase) matchlen(s, t int32, src []byte) int32 {
116116
panic(err)
117117
}
118118
if t < 0 {
119-
err := fmt.Sprintf("s (%d) < 0", s)
119+
err := fmt.Sprintf("t (%d) < 0", t)
120120
panic(err)
121121
}
122122
if s-t > e.maxMatchOff {

0 commit comments

Comments
 (0)