summaryrefslogtreecommitdiffstats
path: root/core/dive.c
diff options
context:
space:
mode:
authorGravatar Jan Mulder <jlmulder@xs4all.nl>2017-05-20 08:37:04 +0200
committerGravatar Jan Mulder <jlmulder@xs4all.nl>2018-01-10 16:45:42 +0100
commit768f0db991b79455422ea9bd2e38e29815bd133f (patch)
treef274ed7d3e2ea4863d07bad1f36bd595c4aa014a /core/dive.c
parentc69ea1de1b023f3be9003ceb34e5fc1d6684f051 (diff)
downloadsubsurface-768f0db991b79455422ea9bd2e38e29815bd133f.tar.gz
Unused code: remove shift_times()
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Diffstat (limited to 'core/dive.c')
-rw-r--r--core/dive.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/core/dive.c b/core/dive.c
index 0a8c9f2a9..372361a47 100644
--- a/core/dive.c
+++ b/core/dive.c
@@ -3596,19 +3596,6 @@ struct dive *find_dive_n_near(timestamp_t when, int n, timestamp_t offset)
return NULL;
}
-void shift_times(const timestamp_t amount)
-{
- int i;
- struct dive *dive;
-
- for_each_dive (i, dive) {
- if (!dive->selected)
- continue;
- dive->when += amount;
- invalidate_dive_cache(dive);
- }
-}
-
timestamp_t get_times()
{
int i;