mirror of
https://github.com/golang/go
synced 2024-11-19 17:24:41 -07:00
compress/gzip: remove dead code
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5645074
This commit is contained in:
parent
aca4a6c933
commit
309863aec4
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user