]> granicus.if.org Git - php/commitdiff
Remove compile warning: variable ‘streamp’ set but not used [-Wunused-but-set-variable]
authorChristopher Jones <sixd@php.net>
Tue, 20 Aug 2013 00:46:50 +0000 (17:46 -0700)
committerChristopher Jones <sixd@php.net>
Tue, 20 Aug 2013 00:46:50 +0000 (17:46 -0700)
ext/bz2/bz2_filter.c

index 5ed7921c17dba85b9602fdba876c654e04311240..335600232b301e48818853eb93b7f7a3d4b5f450 100644 (file)
@@ -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;