summaryrefslogtreecommitdiff
path: root/vendor/github.com/klauspost/compress/flate/deflate.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-04-21 15:41:46 -0400
committerGitHub <noreply@github.com>2021-04-21 15:41:46 -0400
commit5c8ba488078c7ee71e5b3a2cbb2bf770734d6c81 (patch)
tree7b6ec387c3006e83c4e3168412e9e70e5565ff45 /vendor/github.com/klauspost/compress/flate/deflate.go
parent897f6c3a4a55bfc82a989c81cb3dc8998965c408 (diff)
parent5aef11026a850bb99d8394dba17810bf05d727bc (diff)
downloadpodman-5c8ba488078c7ee71e5b3a2cbb2bf770734d6c81.tar.gz
podman-5c8ba488078c7ee71e5b3a2cbb2bf770734d6c81.tar.bz2
podman-5c8ba488078c7ee71e5b3a2cbb2bf770734d6c81.zip
Merge pull request #10097 from containers/dependabot/go_modules/github.com/containers/storage-1.30.0
Bump github.com/containers/storage from 1.29.0 to 1.30.0
Diffstat (limited to 'vendor/github.com/klauspost/compress/flate/deflate.go')
-rw-r--r--vendor/github.com/klauspost/compress/flate/deflate.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/vendor/github.com/klauspost/compress/flate/deflate.go b/vendor/github.com/klauspost/compress/flate/deflate.go
index 3f428d8b5..40b5802de 100644
--- a/vendor/github.com/klauspost/compress/flate/deflate.go
+++ b/vendor/github.com/klauspost/compress/flate/deflate.go
@@ -440,8 +440,7 @@ func (d *compressor) deflateLazy() {
// index and index-1 are already inserted. If there is not enough
// lookahead, the last two strings are not inserted into the hash
// table.
- var newIndex int
- newIndex = s.index + prevLength - 1
+ newIndex := s.index + prevLength - 1
// Calculate missing hashes
end := newIndex
if end > s.maxInsertIndex {