cleanup: remove record_dive() function

No user left.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2020-03-17 22:52:13 +01:00 committed by Dirk Hohndel
parent ed3e68c36a
commit 2da7b6d0f5
2 changed files with 0 additions and 6 deletions

View file

@ -340,7 +340,6 @@ extern struct dive *alloc_dive(void);
extern void free_dive(struct dive *);
extern void free_dive_dcs(struct divecomputer *dc);
extern void record_dive_to_table(struct dive *dive, struct dive_table *table);
extern void record_dive(struct dive *dive);
extern void clear_dive(struct dive *dive);
extern void copy_dive(const struct dive *s, struct dive *d);
extern void selective_copy_dive(const struct dive *s, struct dive *d, struct dive_components what, bool clear);

View file

@ -81,11 +81,6 @@ void record_dive_to_table(struct dive *dive, struct dive_table *table)
add_to_dive_table(table, table->nr, fixup_dive(dive));
}
void record_dive(struct dive *dive)
{
record_dive_to_table(dive, &dive_table);
}
void start_match(const char *type, const char *name, char *buffer)
{
if (verbose > 2)