mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
cleanup: remove unused function append_dive()
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
a8130f0fa1
commit
32d87db8b3
2 changed files with 0 additions and 10 deletions
|
@ -786,15 +786,6 @@ void delete_single_dive(int idx)
|
||||||
delete_dive_from_table(&dive_table, idx);
|
delete_dive_from_table(&dive_table, idx);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* add a dive at the end of the global dive table and keep track
|
|
||||||
* of the number of selected dives. */
|
|
||||||
void append_dive(struct dive *dive)
|
|
||||||
{
|
|
||||||
add_to_dive_table(&dive_table, dive_table.nr, dive);
|
|
||||||
if (dive->selected)
|
|
||||||
amount_selected++;
|
|
||||||
}
|
|
||||||
|
|
||||||
int shown_dives = 0;
|
int shown_dives = 0;
|
||||||
bool filter_dive(struct dive *d, bool shown)
|
bool filter_dive(struct dive *d, bool shown)
|
||||||
{
|
{
|
||||||
|
|
|
@ -46,7 +46,6 @@ extern char *get_dive_gas_string(const struct dive *dive);
|
||||||
|
|
||||||
extern int dive_table_get_insertion_index(struct dive_table *table, struct dive *dive);
|
extern int dive_table_get_insertion_index(struct dive_table *table, struct dive *dive);
|
||||||
extern void add_to_dive_table(struct dive_table *table, int idx, struct dive *dive);
|
extern void add_to_dive_table(struct dive_table *table, int idx, struct dive *dive);
|
||||||
extern void append_dive(struct dive *dive);
|
|
||||||
extern void insert_dive(struct dive_table *table, struct dive *d);
|
extern void insert_dive(struct dive_table *table, struct dive *d);
|
||||||
extern void get_dive_gas(const struct dive *dive, int *o2_p, int *he_p, int *o2low_p);
|
extern void get_dive_gas(const struct dive *dive, int *o2_p, int *he_p, int *o2low_p);
|
||||||
extern int get_divenr(const struct dive *dive);
|
extern int get_divenr(const struct dive *dive);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue