Skip to content

Commit f69a5c5

Browse files
committed
Remove compile warning: variable ‘streamp’ set but not used [-Wunused-but-set-variable]
1 parent cf7f507 commit f69a5c5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

ext/bz2/bz2_filter.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,15 +215,13 @@ static php_stream_filter_status_t php_bz2_compress_filter(
215215
size_t consumed = 0;
216216
int status;
217217
php_stream_filter_status_t exit_status = PSFS_FEED_ME;
218-
bz_stream *streamp;
219218

220219
if (!thisfilter || !thisfilter->abstract) {
221220
/* Should never happen */
222221
return PSFS_ERR_FATAL;
223222
}
224223

225224
data = (php_bz2_filter_data *)(thisfilter->abstract);
226-
streamp = &(data->strm);
227225

228226
while (buckets_in->head) {
229227
size_t bin = 0, desired;

0 commit comments

Comments
 (0)