summaryrefslogtreecommitdiffstats
path: root/core/dive.c
diff options
context:
space:
mode:
authorGravatar Jan Mulder <jlmulder@xs4all.nl>2017-05-20 08:41:35 +0200
committerGravatar Jan Mulder <jlmulder@xs4all.nl>2018-01-10 16:45:42 +0100
commit3cd36539721a8ccfaab5559b6b06240db19fb5ff (patch)
tree4b9b5496b7673c40e8f544b8cec6b4bbb8c0f81e /core/dive.c
parent768f0db991b79455422ea9bd2e38e29815bd133f (diff)
downloadsubsurface-3cd36539721a8ccfaab5559b6b06240db19fb5ff.tar.gz
Unused code: remove taglist_equal()
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Diffstat (limited to 'core/dive.c')
-rw-r--r--core/dive.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/core/dive.c b/core/dive.c
index 372361a47..f86866a6e 100644
--- a/core/dive.c
+++ b/core/dive.c
@@ -3147,12 +3147,6 @@ void dump_taglist(const char *intro, struct tag_entry *tl)
fprintf(stderr, "\n");
}
-// if tl1 is both a subset and superset of tl2 they must be the same
-bool taglist_equal(struct tag_entry *tl1, struct tag_entry *tl2)
-{
- return taglist_contains_all(tl1, tl2) && taglist_contains_all(tl2, tl1);
-}
-
// count the dives where the tag list contains the given tag
int count_dives_with_tag(const char *tag)
{