mirror of https://github.com/nodejs/node.git
zlib: fix uninitialized variable compiler warning
parent
a4a04f932e
commit
7bdeed2039
|
@ -142,7 +142,7 @@ class ZCtx : public ObjectWrap {
|
||||||
// If the avail_out is left at 0, then it means that it ran out
|
// 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
|
// of room. If there was avail_out left over, then it means
|
||||||
// that all of the input was consumed.
|
// that all of the input was consumed.
|
||||||
int err;
|
int err = Z_STREAM_ERROR;
|
||||||
switch (ctx->mode_) {
|
switch (ctx->mode_) {
|
||||||
case DEFLATE:
|
case DEFLATE:
|
||||||
case GZIP:
|
case GZIP:
|
||||||
|
|
Loading…
Reference in New Issue