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:
Nigel Tao 2016-03-05 11:14:51 +11:00
parent 6ed10382f7
commit ed8116989d

View File

@ -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))
} }
} }