mirror of
https://github.com/golang/go.git
synced 2025-05-29 03:11:26 +00:00
compress/flate: remove unused woffset field.
Change-Id: Id0a12c76b0a6925f2926d38a1931157f9ef5f650 Reviewed-on: https://go-review.googlesource.com/20280 Reviewed-by: Joe Tsai <joetsai@digital-static.net> Run-TryBot: Joe Tsai <joetsai@digital-static.net> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
parent
6ed10382f7
commit
ed8116989d
@ -268,7 +268,6 @@ type decompressor struct {
|
|||||||
// Input source.
|
// Input source.
|
||||||
r Reader
|
r Reader
|
||||||
roffset int64
|
roffset int64
|
||||||
woffset int64
|
|
||||||
|
|
||||||
// Input bits, in top of b.
|
// Input bits, in top of b.
|
||||||
b uint32
|
b uint32
|
||||||
@ -352,7 +351,6 @@ func (f *decompressor) Read(b []byte) (int, error) {
|
|||||||
return 0, f.err
|
return 0, f.err
|
||||||
}
|
}
|
||||||
f.step(f)
|
f.step(f)
|
||||||
f.woffset += int64(len(f.toRead))
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user