From: Christopher Jones Date: Tue, 20 Aug 2013 00:46:50 +0000 (-0700) Subject: Remove compile warning: variable ‘streamp’ set but not used [-Wunused-but-set-variable] X-Git-Tag: php-5.5.6RC1~19^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f69a5c520fd699a32d0787dc04984313b2b677ff;p=php Remove compile warning: variable ‘streamp’ set but not used [-Wunused-but-set-variable] --- diff --git a/ext/bz2/bz2_filter.c b/ext/bz2/bz2_filter.c index 5ed7921c17..335600232b 100644 --- a/ext/bz2/bz2_filter.c +++ b/ext/bz2/bz2_filter.c @@ -215,7 +215,6 @@ static php_stream_filter_status_t php_bz2_compress_filter( size_t consumed = 0; int status; php_stream_filter_status_t exit_status = PSFS_FEED_ME; - bz_stream *streamp; if (!thisfilter || !thisfilter->abstract) { /* Should never happen */ @@ -223,7 +222,6 @@ static php_stream_filter_status_t php_bz2_compress_filter( } data = (php_bz2_filter_data *)(thisfilter->abstract); - streamp = &(data->strm); while (buckets_in->head) { size_t bin = 0, desired;