]> git.ipfire.org Git - thirdparty/libarchive.git/commit
reader: remove archive_read_filter_bidder_vtable::free stubs
authorEmil Velikov <emil.l.velikov@gmail.com>
Sat, 14 Mar 2020 17:05:41 +0000 (17:05 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sat, 23 Oct 2021 18:26:23 +0000 (19:26 +0100)
commit8649d2a8e82f1b50c9eaf528df96046fee7420db
tree7d056c2743f7d291ac6262865cac4974dffa580e
parentb30dd6c2762b6c0cc9aeb676076f7619c49a381b
reader: remove archive_read_filter_bidder_vtable::free stubs

There is no point in having stubs around. The caller already checks if
the function pointer is NULL before calling it.

With this in place only one implementation remains in filter_program.

Technically we can rework/remove that as well, although the solution
might not be so clean, so let's keep that for another day.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
libarchive/archive_read_support_filter_bzip2.c
libarchive/archive_read_support_filter_compress.c
libarchive/archive_read_support_filter_grzip.c
libarchive/archive_read_support_filter_lrzip.c
libarchive/archive_read_support_filter_lz4.c