From 1c03075f24cb32623d479416037c141d541fe998 Mon Sep 17 00:00:00 2001 From: Jan Mulder Date: Sat, 20 May 2017 08:59:13 +0200 Subject: Unused code: remove taglist_contains_all() Signed-off-by: Jan Mulder --- core/dive.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/core/dive.c b/core/dive.c index f86866a6e..205de9353 100644 --- a/core/dive.c +++ b/core/dive.c @@ -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; -- cgit v1.2.3-70-g09d2