aboutsummaryrefslogtreecommitdiffstats
path: root/core/dive.c
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-05-30 17:35:39 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-06-19 13:11:10 -0700
commitd3cd85b3436aa02a5d60a3f1f12bc6758e486994 (patch)
tree4a241740746921077505afd2c26d2d6b912e1b71 /core/dive.c
parent36bb9d8422dadf17cd6806bbb755ff5195fcab01 (diff)
downloadsubsurface-d3cd85b3436aa02a5d60a3f1f12bc6758e486994.tar.gz
Cleanup: remove unused function dump_taglist()
This was probably used for debugging but has no callers anymore. Let's remove it. If needed, it can be trivially readded. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/dive.c')
-rw-r--r--core/dive.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/core/dive.c b/core/dive.c
index 5ddaded9e..a85f9a805 100644
--- a/core/dive.c
+++ b/core/dive.c
@@ -3429,18 +3429,6 @@ struct tag_entry *taglist_added(struct tag_entry *original_list, struct tag_entr
return added_list;
}
-void dump_taglist(const char *intro, struct tag_entry *tl)
-{
- char *comma = "";
- fprintf(stderr, "%s", intro);
- while(tl) {
- fprintf(stderr, "%s %s", comma, tl->tag->name);
- comma = ",";
- tl = tl->next;
- }
- fprintf(stderr, "\n");
-}
-
bool is_dc_planner(const struct divecomputer *dc) {
return same_string(dc->model, "planned dive");
}