Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/node_zlib.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_zlib.cc b/src/node_zlib.cc
index 3567139e02f..83d57a3a78e 100644
--- a/src/node_zlib.cc
+++ b/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: