summaryrefslogtreecommitdiff
path: root/ext/bz2/bz2_filter.c
diff options
context:
space:
mode:
authorChristopher Jones <sixd@php.net>2013-08-19 17:46:50 -0700
committerChristopher Jones <sixd@php.net>2013-08-19 17:46:50 -0700
commitf69a5c520fd699a32d0787dc04984313b2b677ff (patch)
treed4f613e53866dfd70899b15a3576afe29b666a6b /ext/bz2/bz2_filter.c
parentcf7f50748a787affd9306b34ee1ba2c83772aedc (diff)
downloadphp-git-f69a5c520fd699a32d0787dc04984313b2b677ff.tar.gz
Remove compile warning: variable ‘streamp’ set but not used [-Wunused-but-set-variable]
Diffstat (limited to 'ext/bz2/bz2_filter.c')
-rw-r--r--ext/bz2/bz2_filter.c2
1 files changed, 0 insertions, 2 deletions
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;