Commit 309863ae authored by Alex Brainman's avatar Alex Brainman

compress/gzip: remove dead code

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5645074
parent aca4a6c9
...@@ -83,7 +83,6 @@ func NewReader(r io.Reader) (*Decompressor, error) { ...@@ -83,7 +83,6 @@ func NewReader(r io.Reader) (*Decompressor, error) {
z.r = makeReader(r) z.r = makeReader(r)
z.digest = crc32.NewIEEE() z.digest = crc32.NewIEEE()
if err := z.readHeader(true); err != nil { if err := z.readHeader(true); err != nil {
z.err = err
return nil, err return nil, err
} }
return z, nil return z, nil
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment