1
0
mirror of https://github.com/golang/go synced 2024-11-19 14:54:43 -07:00

compress/gzip: remove dead code

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5645074
This commit is contained in:
Alex Brainman 2012-02-10 09:33:51 +11:00
parent aca4a6c933
commit 309863aec4

View File

@ -83,7 +83,6 @@ func NewReader(r io.Reader) (*Decompressor, error) {
z.r = makeReader(r)
z.digest = crc32.NewIEEE()
if err := z.readHeader(true); err != nil {
z.err = err
return nil, err
}
return z, nil