From e31b6c0ed38734b2691acefb8667a828d40108db Mon Sep 17 00:00:00 2001 From: "Lubomir I. Ivanov" Date: Sat, 7 Nov 2015 23:18:30 +0200 Subject: dive.c: remove unused variable Signed-off-by: Lubomir I. Ivanov --- subsurface-core/dive.c | 1 - 1 file changed, 1 deletion(-) 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; -- cgit v1.2.3-70-g09d2