Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

zlib: fix uninitialized variable compiler warning

  • Loading branch information...
commit 7bdeed203991d35a56e7448540e3b74387c65d0d 1 parent a4a04f9
@bnoordhuis bnoordhuis authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/node_zlib.cc
View
2  src/node_zlib.cc
@@ -142,7 +142,7 @@ class ZCtx : public ObjectWrap {
// If the avail_out is left at 0, then it means that it ran out
// of room. If there was avail_out left over, then it means
// that all of the input was consumed.
- int err;
+ int err = Z_STREAM_ERROR;
switch (ctx->mode_) {
case DEFLATE:
case GZIP:
Please sign in to comment.
Something went wrong with that request. Please try again.