diff options
Diffstat (limited to 'libgo/go/compress/zlib/reader.go')
-rw-r--r-- | libgo/go/compress/zlib/reader.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/compress/zlib/reader.go b/libgo/go/compress/zlib/reader.go index f38ef5a885e..d54746f4c02 100644 --- a/libgo/go/compress/zlib/reader.go +++ b/libgo/go/compress/zlib/reader.go @@ -11,7 +11,7 @@ and compress during writing. For example, to write compressed data to a buffer: var b bytes.Buffer - w, err := zlib.NewWriter(&b) + w := zlib.NewWriter(&b) w.Write([]byte("hello, world\n")) w.Close() |