aboutsummaryrefslogtreecommitdiff
path: root/internal/compress/zlib/reader_reset.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/compress/zlib/reader_reset.go')
-rw-r--r--internal/compress/zlib/reader_reset.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/compress/zlib/reader_reset.go b/internal/compress/zlib/reader_reset.go
index fbcaccac..fe675c73 100644
--- a/internal/compress/zlib/reader_reset.go
+++ b/internal/compress/zlib/reader_reset.go
@@ -57,7 +57,7 @@ func (z *Reader) reset(r io.Reader, dict []byte) error {
}
haveDict := z.scratch[1]&0x20 != 0
- if haveDict {
+ if haveDict { //nolint:nestif
readN, z.err = io.ReadFull(z.r, z.scratch[0:4])
readNUint64, err := intconv.IntToUint64(readN)