diff --git a/encode.go b/encode.go index c299606..2b468d4 100644 --- a/encode.go +++ b/encode.go @@ -1101,9 +1101,6 @@ func encoderInitState(s *Writer) { ringBufferInit(&s.ringbuffer_) - s.commands_ = nil - s.cmd_alloc_size_ = 0 - /* Initialize distance cache. */ s.dist_cache_[0] = 4