summaryrefslogtreecommitdiffstats
path: root/subsurface-core/dive.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-07 22:16:30 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-07 22:26:33 -0800
commit440423ff6476119e090798ae2d59dc59d5253a0a (patch)
tree5a8c32678056583e0cc7cd06682bc123d0584e33 /subsurface-core/dive.c
parentbfe24526d35c47c1229a0711882d4e789fb46731 (diff)
parent829f7a2ee264b4e25e8ea926a98199f8049a23d6 (diff)
downloadsubsurface-440423ff6476119e090798ae2d59dc59d5253a0a.tar.gz
Merge branch 'warnings' of github.com:neolit123/subsurface
Diffstat (limited to 'subsurface-core/dive.c')
-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;