mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
cbeec45612
commit
2f3c15cb22
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Sun Mar 1 19:38:59 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* ext/zlib/zlib.c (zstream_run): suppress a warning. a patch from
|
||||
Charlie Savage at [ruby-core:22607].
|
||||
|
||||
Sun Mar 1 19:36:18 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* util.c (ruby_dtoa): allocates one more byte to get rid of buffer
|
||||
|
|
|
@ -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*)"";
|
||||
|
|
Loading…
Reference in a new issue