summaryrefslogtreecommitdiffstats
path: root/dive.c
diff options
context:
space:
mode:
Diffstat (limited to 'dive.c')
-rw-r--r--dive.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/dive.c b/dive.c
index e4bec0314..558cdee30 100644
--- a/dive.c
+++ b/dive.c
@@ -2038,15 +2038,6 @@ struct dive *merge_dives(struct dive *a, struct dive *b, int offset, bool prefer
return res;
}
-int get_index_for_dive(struct dive *dive) {
- int i;
- struct dive *d;
- for_each_dive(i, d)
- if (d == dive)
- return i;
- return -1;
-}
-
struct dive *find_dive_including(timestamp_t when)
{
int i;