Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
zlib: fix uninitialized variable compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
bnoordhuis committed Mar 31, 2012
1 parent a4a04f9 commit 7bdeed2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node_zlib.cc
Expand Up @@ -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:
Expand Down

0 comments on commit 7bdeed2

Please sign in to comment.