summaryrefslogtreecommitdiff
path: root/libarchive/archive_read_support_filter_bzip2.c
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2020-03-14 16:01:11 +0000
committerEmil Velikov <emil.l.velikov@gmail.com>2021-10-23 19:26:23 +0100
commitb30dd6c2762b6c0cc9aeb676076f7619c49a381b (patch)
tree00c707484b1aea468bd86e5c917a74194241604f /libarchive/archive_read_support_filter_bzip2.c
parentee99f7fc02270749565a082512b10528c0c9ac98 (diff)
downloadlibarchive-b30dd6c2762b6c0cc9aeb676076f7619c49a381b.tar.gz
reader: remove unused read_filter_bidder::options
None of the filters set ::options and based on git log, none of them ever did despite that the API/infra was added over 10 years ago. Let's just drop it, removing the majority of archive_set_filter_option() which is essentially dead code. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'libarchive/archive_read_support_filter_bzip2.c')
-rw-r--r--libarchive/archive_read_support_filter_bzip2.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libarchive/archive_read_support_filter_bzip2.c b/libarchive/archive_read_support_filter_bzip2.c
index 3885a7cf..b04a6fdf 100644
--- a/libarchive/archive_read_support_filter_bzip2.c
+++ b/libarchive/archive_read_support_filter_bzip2.c
@@ -97,7 +97,6 @@ archive_read_support_filter_bzip2(struct archive *_a)
reader->name = "bzip2";
reader->bid = bzip2_reader_bid;
reader->init = bzip2_reader_init;
- reader->options = NULL;
reader->free = bzip2_reader_free;
#if defined(HAVE_BZLIB_H) && defined(BZ_CONFIG_ERROR)
return (ARCHIVE_OK);