summaryrefslogtreecommitdiffstats
path: root/core/dive.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/dive.c')
-rw-r--r--core/dive.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/core/dive.c b/core/dive.c
index 5bb406f08..0aa7a4324 100644
--- a/core/dive.c
+++ b/core/dive.c
@@ -3311,18 +3311,6 @@ bool time_during_dive_with_offset(const struct dive *dive, timestamp_t when, tim
return start - offset <= when && when <= end + offset;
}
-timestamp_t get_times()
-{
- int i;
- struct dive *dive;
-
- for_each_dive (i, dive) {
- if (dive->selected)
- break;
- }
- return dive->when;
-}
-
/* this sets a usually unused copy of the preferences with the units
* that were active the last time the dive list was saved to git storage
* (this isn't used in XML files); storing the unit preferences in the