1
0
Fork 0
mirror of https://github.com/subsurface/subsurface.git synced 2025-02-19 22:16:15 +00:00

Unused code: remove taglist_contains_all()

Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
This commit is contained in:
Jan Mulder 2017-05-20 08:59:13 +02:00
parent dc54b4aaeb
commit 1c03075f24

View file

@ -3113,17 +3113,6 @@ bool taglist_contains(struct tag_entry *tag_list, const char *tag)
return false;
}
// check if all tags in subtl are included in supertl (so subtl is a subset of supertl)
static bool taglist_contains_all(struct tag_entry *subtl, struct tag_entry *supertl)
{
while (subtl) {
if (!taglist_contains(supertl, subtl->tag->name))
return false;
subtl = subtl->next;
}
return true;
}
struct tag_entry *taglist_added(struct tag_entry *original_list, struct tag_entry *new_list)
{
struct tag_entry *added_list = NULL;