diff options
author | Jan Mulder <jlmulder@xs4all.nl> | 2017-05-20 08:59:13 +0200 |
---|---|---|
committer | Jan Mulder <jlmulder@xs4all.nl> | 2018-01-10 16:45:42 +0100 |
commit | 1c03075f24cb32623d479416037c141d541fe998 (patch) | |
tree | 610ad9a912fc761d1b4572c9fd46886c8ff60e01 /core/dive.c | |
parent | dc54b4aaeb2ac743e8184c4741009b98739897a7 (diff) | |
download | subsurface-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.c | 11 |
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; |