dive.c: remove unused variable

Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
This commit is contained in:
Lubomir I. Ivanov 2015-11-07 23:18:30 +02:00 committed by Dirk Hohndel
parent 809f507537
commit e31b6c0ed3

View file

@ -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;