summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2015-11-07 23:18:30 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-07 22:26:33 -0800
commite31b6c0ed38734b2691acefb8667a828d40108db (patch)
treea5a35cc2e9646fb67615757069865ef036d5d6c7
parent809f50753770a6b55cafb0ac5d9dc0a63b47d0d4 (diff)
downloadsubsurface-e31b6c0ed38734b2691acefb8667a828d40108db.tar.gz
dive.c: remove unused variable
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
-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;