aboutsummaryrefslogtreecommitdiffstats
path: root/core/divelist.c
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-05-02 14:19:46 +0200
committerGravatar bstoeger <32835590+bstoeger@users.noreply.github.com>2020-05-02 14:52:51 +0200
commit32d87db8b35c1c3c4d66f2184ff8f4d97629e2cc (patch)
treecc4ee3bff52680e6a01a3033c3c02b6f5b3e9cc9 /core/divelist.c
parenta8130f0fa16a35dd647d04449c8e561156e86549 (diff)
downloadsubsurface-32d87db8b35c1c3c4d66f2184ff8f4d97629e2cc.tar.gz
cleanup: remove unused function append_dive()
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/divelist.c')
-rw-r--r--core/divelist.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/core/divelist.c b/core/divelist.c
index 579886b02..778811db5 100644
--- a/core/divelist.c
+++ b/core/divelist.c
@@ -786,15 +786,6 @@ void delete_single_dive(int 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;
bool filter_dive(struct dive *d, bool shown)
{