summaryrefslogtreecommitdiffstats
path: root/core/divelist.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/divelist.c')
-rw-r--r--core/divelist.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/core/divelist.c b/core/divelist.c
index f4c9762ab..ed4d8544e 100644
--- a/core/divelist.c
+++ b/core/divelist.c
@@ -37,7 +37,6 @@
* void deselect_dive(struct dive *dive)
* void mark_divelist_changed(int changed)
* int unsaved_changes()
- * void remove_autogen_trips()
* bool dive_less_than(const struct dive *a, const struct dive *b)
* bool trip_less_than(const struct dive_trip *a, const struct dive_trip *b)
* bool dive_or_trip_less_than(struct dive_or_trip a, struct dive_or_trip b)
@@ -1368,19 +1367,6 @@ int unsaved_changes()
return dive_list_changed;
}
-void remove_autogen_trips()
-{
- int i;
- struct dive *dive;
-
- for_each_dive(i, dive) {
- dive_trip_t *trip = dive->divetrip;
-
- if (trip && trip->autogen)
- remove_dive_from_trip(dive, true);
- }
-}
-
/*
* When adding dives to the dive table, we try to renumber
* the new dives based on any old dives in the dive table.