cochran.c: mark 'ascent_rate' as unused

cochran_parse_samples():
'ascent_rate' can be used at some point so we mark it
as unused with (void)

Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Lubomir I. Ivanov 2014-10-28 13:35:15 +02:00 committed by Dirk Hohndel
parent e64a25d715
commit 469f42f8d5

View file

@ -588,6 +588,7 @@ static void cochran_parse_samples(struct dive *dive, const unsigned char *log,
offset += config.sample_size;
seconds++;
}
(void)ascent_rate; // mark the variable as unused
if (seconds > 0)
*duration = seconds - 1;