]> git.ipfire.org Git - thirdparty/libarchive.git/commit
archive_match: Remove unneeded count fields
authorTobias Stoeckmann <tobias@stoeckmann.org>
Sat, 24 May 2025 10:24:49 +0000 (12:24 +0200)
committerTobias Stoeckmann <tobias@stoeckmann.org>
Sat, 24 May 2025 10:24:49 +0000 (12:24 +0200)
commit51e66d32c6b45a35bc4224d372dc066efed579f4
tree5def2d9fef6516471283c469f665c1641b56da18
parent4223b4c54821875b4ccd6349e65ea0911b77cdf1
archive_match: Remove unneeded count fields

The count fields are merely used to check if a list is empty or not.
A check for first being not NULL is sufficient and is already in
place while iterating over the linked elements (count is not used).

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
libarchive/archive_match.c