diff options
author | Jan Mulder <jlmulder@xs4all.nl> | 2017-05-20 08:37:04 +0200 |
---|---|---|
committer | Jan Mulder <jlmulder@xs4all.nl> | 2018-01-10 16:45:42 +0100 |
commit | 768f0db991b79455422ea9bd2e38e29815bd133f (patch) | |
tree | f274ed7d3e2ea4863d07bad1f36bd595c4aa014a /core/dive.c | |
parent | c69ea1de1b023f3be9003ceb34e5fc1d6684f051 (diff) | |
download | subsurface-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.c | 13 |
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; |