@@ -62,20 +62,16 @@ static php_stream_filter_status_t php_zlib_inflate_filter(
62
62
{
63
63
php_zlib_filter_data * data ;
64
64
php_stream_bucket * bucket ;
65
- size_t consumed = 0 , original_out , original_in ;
65
+ size_t consumed = 0 ;
66
66
int status ;
67
67
php_stream_filter_status_t exit_status = PSFS_FEED_ME ;
68
- z_stream * streamp ;
69
68
70
69
if (!thisfilter || !thisfilter -> abstract ) {
71
70
/* Should never happen */
72
71
return PSFS_ERR_FATAL ;
73
72
}
74
73
75
74
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 ;
79
75
80
76
while (buckets_in -> head ) {
81
77
size_t bin = 0 , desired ;
@@ -191,20 +187,16 @@ static php_stream_filter_status_t php_zlib_deflate_filter(
191
187
{
192
188
php_zlib_filter_data * data ;
193
189
php_stream_bucket * bucket ;
194
- size_t consumed = 0 , original_out , original_in ;
190
+ size_t consumed = 0 ;
195
191
int status ;
196
192
php_stream_filter_status_t exit_status = PSFS_FEED_ME ;
197
- z_stream * streamp ;
198
193
199
194
if (!thisfilter || !thisfilter -> abstract ) {
200
195
/* Should never happen */
201
196
return PSFS_ERR_FATAL ;
202
197
}
203
198
204
199
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 ;
208
200
209
201
while (buckets_in -> head ) {
210
202
size_t bin = 0 , desired ;
0 commit comments