summaryrefslogtreecommitdiffstats
path: root/core/dive.c
diff options
context:
space:
mode:
authorGravatar Jan Mulder <jlmulder@xs4all.nl>2017-05-20 08:59:13 +0200
committerGravatar Jan Mulder <jlmulder@xs4all.nl>2018-01-10 16:45:42 +0100
commit1c03075f24cb32623d479416037c141d541fe998 (patch)
tree610ad9a912fc761d1b4572c9fd46886c8ff60e01 /core/dive.c
parentdc54b4aaeb2ac743e8184c4741009b98739897a7 (diff)
downloadsubsurface-1c03075f24cb32623d479416037c141d541fe998.tar.gz
Unused code: remove taglist_contains_all()
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Diffstat (limited to 'core/dive.c')
-rw-r--r--core/dive.c11
1 files changed, 0 insertions, 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;