diff options
author | Frank M. Kromann <fmk@php.net> | 2002-04-12 16:25:31 +0000 |
---|---|---|
committer | Frank M. Kromann <fmk@php.net> | 2002-04-12 16:25:31 +0000 |
commit | 7ff43f040ffbf27bf6b38cd8584c44bec02473fd (patch) | |
tree | f848695c8a8ca73e52502c869ac0d1b5fa6172f5 /ext/zlib/zlib.c | |
parent | 0f0a5dddf3e00cb3443e80bff3f8b9ff29e9221e (diff) | |
download | php-git-7ff43f040ffbf27bf6b38cd8584c44bec02473fd.tar.gz |
Removing a unused local variable.
Setting the size before returning the value in readgzfile
Diffstat (limited to 'ext/zlib/zlib.c')
-rw-r--r-- | ext/zlib/zlib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/zlib/zlib.c b/ext/zlib/zlib.c index 7031efa23b..515d7f1a1d 100644 --- a/ext/zlib/zlib.c +++ b/ext/zlib/zlib.c @@ -154,7 +154,7 @@ static PHP_INI_MH(OnUpdate_zlib_output_compression) /* {{{ OnUpdate_zlib_output_compression_level */ static PHP_INI_MH(OnUpdate_zlib_output_compression_level) { - char *ini_value; +// char *ini_value; OnUpdateInt(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC); @@ -386,7 +386,7 @@ PHP_FUNCTION(readgzfile) if (!stream) { RETURN_FALSE; } - php_stream_passthru(stream); + size = php_stream_passthru(stream); php_stream_close(stream); RETURN_LONG(size); } |