aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKale Blankenship <kale@lemnisys.com>2022-05-03 09:32:19 -0700
committerGopher Robot <gobot@golang.org>2022-05-03 18:22:07 +0000
commit356c8c54521efb02cc2a103ac2b80c77f54b4bcd (patch)
tree54c66b40b6be1469456f6cd7d327967a0c90e84b /src
parent8efd059f10d98643bc464bb1e6ce4cf3b225b7b5 (diff)
downloadgo-356c8c54521efb02cc2a103ac2b80c77f54b4bcd.tar.xz
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>
Diffstat (limited to 'src')
-rw-r--r--src/archive/zip/reader.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/archive/zip/reader.go b/src/archive/zip/reader.go
index b4f6a8d714..19a9c3b2db 100644
--- a/src/archive/zip/reader.go
+++ b/src/archive/zip/reader.go
@@ -53,8 +53,7 @@ type File struct {
zip *Reader
zipr io.ReaderAt
headerOffset int64
- zip64 bool // zip64 extended information extra field presence
- descErr error // error reading the data descriptor during init
+ zip64 bool // zip64 extended information extra field presence
}
// OpenReader will open the Zip file specified by name and return a ReadCloser.