summaryrefslogtreecommitdiff
path: root/vendor/github.com/ulikunitz/xz/lzma/bintree.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-01-28 14:39:31 -0500
committerGitHub <noreply@github.com>2021-01-28 14:39:31 -0500
commit2ee034c1e6ddd9918b97ddea2fd3e6388ec8f60b (patch)
tree77d46e8e793088ae9dbd0c74999d31e26951a629 /vendor/github.com/ulikunitz/xz/lzma/bintree.go
parenta4c255a939cf340978efd9cb070951029237c8cf (diff)
parent75c3b33899954e7a0925426b38fd1084d521c3a0 (diff)
downloadpodman-2ee034c1e6ddd9918b97ddea2fd3e6388ec8f60b.tar.gz
podman-2ee034c1e6ddd9918b97ddea2fd3e6388ec8f60b.tar.bz2
podman-2ee034c1e6ddd9918b97ddea2fd3e6388ec8f60b.zip
Merge pull request #9140 from containers/dependabot/go_modules/github.com/containers/image/v5-5.10.0
Bump github.com/containers/image/v5 from 5.9.0 to 5.10.0
Diffstat (limited to 'vendor/github.com/ulikunitz/xz/lzma/bintree.go')
-rw-r--r--vendor/github.com/ulikunitz/xz/lzma/bintree.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/vendor/github.com/ulikunitz/xz/lzma/bintree.go b/vendor/github.com/ulikunitz/xz/lzma/bintree.go
index 58d6a92a7..527ea19a7 100644
--- a/vendor/github.com/ulikunitz/xz/lzma/bintree.go
+++ b/vendor/github.com/ulikunitz/xz/lzma/bintree.go
@@ -5,10 +5,7 @@
package lzma
import (
- "bufio"
"errors"
- "fmt"
- "io"
"unicode"
)
@@ -349,6 +346,7 @@ func dumpX(x uint32) string {
return string(a)
}
+/*
// dumpNode writes a representation of the node v into the io.Writer.
func (t *binTree) dumpNode(w io.Writer, v uint32, indent int) {
if v == null {
@@ -377,6 +375,7 @@ func (t *binTree) dump(w io.Writer) error {
t.dumpNode(bw, t.root, 0)
return bw.Flush()
}
+*/
func (t *binTree) distance(v uint32) int {
dist := int(t.front) - int(v)