From 2c492be00a13bfbc389d2b1b97c6bf91520e280e Mon Sep 17 00:00:00 2001 From: Aditya R Date: Thu, 20 Jan 2022 12:40:07 +0530 Subject: vendor: bump c/common and other vendors This commit bumps majorly c/common so netavark features could be synced with podman. But there are some other vendor bumps as well [NO NEW TESTS NEEDED] [NO TESTS NEEDED] Signed-off-by: Aditya R --- vendor/github.com/klauspost/compress/flate/fast_encoder.go | 2 -- 1 file changed, 2 deletions(-) (limited to 'vendor/github.com/klauspost/compress/flate/fast_encoder.go') diff --git a/vendor/github.com/klauspost/compress/flate/fast_encoder.go b/vendor/github.com/klauspost/compress/flate/fast_encoder.go index a746eb733..0b2e54972 100644 --- a/vendor/github.com/klauspost/compress/flate/fast_encoder.go +++ b/vendor/github.com/klauspost/compress/flate/fast_encoder.go @@ -213,11 +213,9 @@ func (e *fastGen) Reset() { // matchLen returns the maximum length. // 'a' must be the shortest of the two. func matchLen(a, b []byte) int { - b = b[:len(a)] var checked int for len(a) >= 8 { - b = b[:len(a)] if diff := binary.LittleEndian.Uint64(a) ^ binary.LittleEndian.Uint64(b); diff != 0 { return checked + (bits.TrailingZeros64(diff) >> 3) } -- cgit v1.2.3-54-g00ecf