Skip to content
This repository has been archived by the owner on May 2, 2018. It is now read-only.

Commit

Permalink
compress/flate: remove unused woffset field.
Browse files Browse the repository at this point in the history
Change-Id: Id0a12c76b0a6925f2926d38a1931157f9ef5f650
Reviewed-on: https://go-review.googlesource.com/20280
Reviewed-by: Joe Tsai <[email protected]>
Run-TryBot: Joe Tsai <[email protected]>
Reviewed-by: Brad Fitzpatrick <[email protected]>
TryBot-Result: Gobot Gobot <[email protected]>
  • Loading branch information
nigeltao committed Mar 7, 2016
1 parent 6ed1038 commit ed81169
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/compress/flate/inflate.go
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,6 @@ type decompressor struct {
// Input source.
r Reader
roffset int64
woffset int64

// Input bits, in top of b.
b uint32
Expand Down Expand Up @@ -352,7 +351,6 @@ func (f *decompressor) Read(b []byte) (int, error) {
return 0, f.err
}
f.step(f)
f.woffset += int64(len(f.toRead))
}
}

Expand Down

0 comments on commit ed81169

Please sign in to comment.