Skip to content

Commit 1dda0c5

Browse files
committed
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
* 'PHP-5.5' of git.php.net:php-src: remove set but not used variables
2 parents a72102f + c2ad892 commit 1dda0c5

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

ext/zlib/zlib_filter.c

+2-10
Original file line numberDiff line numberDiff line change
@@ -62,20 +62,16 @@ static php_stream_filter_status_t php_zlib_inflate_filter(
6262
{
6363
php_zlib_filter_data *data;
6464
php_stream_bucket *bucket;
65-
size_t consumed = 0, original_out, original_in;
65+
size_t consumed = 0;
6666
int status;
6767
php_stream_filter_status_t exit_status = PSFS_FEED_ME;
68-
z_stream *streamp;
6968

7069
if (!thisfilter || !thisfilter->abstract) {
7170
/* Should never happen */
7271
return PSFS_ERR_FATAL;
7372
}
7473

7574
data = (php_zlib_filter_data *)(thisfilter->abstract);
76-
streamp = &(data->strm);
77-
original_in = data->strm.total_in;
78-
original_out = data->strm.total_out;
7975

8076
while (buckets_in->head) {
8177
size_t bin = 0, desired;
@@ -191,20 +187,16 @@ static php_stream_filter_status_t php_zlib_deflate_filter(
191187
{
192188
php_zlib_filter_data *data;
193189
php_stream_bucket *bucket;
194-
size_t consumed = 0, original_out, original_in;
190+
size_t consumed = 0;
195191
int status;
196192
php_stream_filter_status_t exit_status = PSFS_FEED_ME;
197-
z_stream *streamp;
198193

199194
if (!thisfilter || !thisfilter->abstract) {
200195
/* Should never happen */
201196
return PSFS_ERR_FATAL;
202197
}
203198

204199
data = (php_zlib_filter_data *)(thisfilter->abstract);
205-
streamp = &(data->strm);
206-
original_in = data->strm.total_in;
207-
original_out = data->strm.total_out;
208200

209201
while (buckets_in->head) {
210202
size_t bin = 0, desired;

0 commit comments

Comments
 (0)