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>
This commit is contained in:
Berthold Stoeger 2019-05-30 17:35:39 +02:00 committed by Dirk Hohndel
parent 36bb9d8422
commit d3cd85b343
2 changed files with 0 additions and 13 deletions

View file

@ -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");
}

View file

@ -205,7 +205,6 @@ extern struct tag_entry *g_tag_list;
struct divetag *taglist_add_tag(struct tag_entry **tag_list, const char *tag);
struct tag_entry *taglist_added(struct tag_entry *original_list, struct tag_entry *new_list);
void dump_taglist(const char *intro, struct tag_entry *tl);
/*
* Writes all divetags form tag_list into internally allocated buffer