projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4a04f9
)
zlib: fix uninitialized variable compiler warning
author
Ben Noordhuis
<info@bnoordhuis.nl>
Sat, 31 Mar 2012 23:50:02 +0000
(23:50 +0000)
committer
Ben Noordhuis
<info@bnoordhuis.nl>
Sat, 31 Mar 2012 23:50:02 +0000
(23:50 +0000)
src/node_zlib.cc
patch
|
blob
|
history
diff --git
a/src/node_zlib.cc
b/src/node_zlib.cc
index
3567139
..
83d57a3
100644
(file)
--- 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: