summaryrefslogtreecommitdiff
path: root/ext/zlib/zlib.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-01 10:39:01 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-01 10:39:01 +0000
commit2f3c15cb227e425205f2614e04ae388c7edc0f94 (patch)
tree3d22f72262ea003f5c4513e557d2cb43dfe24053 /ext/zlib/zlib.c
parentcbeec4561285b6afe00cd9bd61eebe9f5e3a6919 (diff)
* ext/zlib/zlib.c (zstream_run): suppress a warning. a patch from
Charlie Savage at [ruby-core:22607]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/zlib/zlib.c')
-rw-r--r--ext/zlib/zlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/zlib/zlib.c b/ext/zlib/zlib.c
index ffc566197c..c7ca55cc1b 100644
--- a/ext/zlib/zlib.c
+++ b/ext/zlib/zlib.c
@@ -695,7 +695,7 @@ zstream_run(struct zstream *z, Bytef *src, uInt len, int flush)
{
uInt n;
int err;
- volatile VALUE guard;
+ volatile VALUE guard = Qnil;
if (NIL_P(z->input) && len == 0) {
z->stream.next_in = (Bytef*)"";