summaryrefslogtreecommitdiffstats
path: root/subsurface-core
diff options
context:
space:
mode:
Diffstat (limited to 'subsurface-core')
-rw-r--r--subsurface-core/dive.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/subsurface-core/dive.c b/subsurface-core/dive.c
index 2ae84ca1e..82012fa25 100644
--- a/subsurface-core/dive.c
+++ b/subsurface-core/dive.c
@@ -2878,7 +2878,6 @@ static struct dive *create_new_copy(struct dive *from)
static void force_fixup_dive(struct dive *d)
{
struct divecomputer *dc = &d->dc;
- int old_maxdepth = dc->maxdepth.mm;
int old_temp = dc->watertemp.mkelvin;
int old_mintemp = d->mintemp.mkelvin;
int old_maxtemp = d->maxtemp.mkelvin;