mirror of
https://github.com/golang/go.git
synced 2025-05-30 03:41:33 +00:00
archive/zip: remove unused File.descErr field
Found via staticcheck. Unused as of CL 357489. Change-Id: I3aa409994ba4388912ac7e7809168529a5b6e31c Reviewed-on: https://go-review.googlesource.com/c/go/+/403814 TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Kale B <kale@lemnisys.com> Run-TryBot: Ian Lance Taylor <iant@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> Reviewed-by: David Chase <drchase@google.com>
This commit is contained in:
parent
8efd059f10
commit
356c8c5452
@ -53,8 +53,7 @@ type File struct {
|
|||||||
zip *Reader
|
zip *Reader
|
||||||
zipr io.ReaderAt
|
zipr io.ReaderAt
|
||||||
headerOffset int64
|
headerOffset int64
|
||||||
zip64 bool // zip64 extended information extra field presence
|
zip64 bool // zip64 extended information extra field presence
|
||||||
descErr error // error reading the data descriptor during init
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// OpenReader will open the Zip file specified by name and return a ReadCloser.
|
// OpenReader will open the Zip file specified by name and return a ReadCloser.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user