aboutsummaryrefslogtreecommitdiff
path: root/src/compress/gzip/gzip.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/compress/gzip/gzip.go')
-rw-r--r--src/compress/gzip/gzip.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compress/gzip/gzip.go b/src/compress/gzip/gzip.go
index ab4598d89f..5f24444237 100644
--- a/src/compress/gzip/gzip.go
+++ b/src/compress/gzip/gzip.go
@@ -30,11 +30,11 @@ type Writer struct {
w io.Writer
level int
wroteHeader bool
+ closed bool
+ buf [10]byte
compressor *flate.Writer
digest uint32 // CRC-32, IEEE polynomial (section 8)
size uint32 // Uncompressed size (section 2.3.1)
- closed bool
- buf [10]byte
err error
}