From 469f42f8d58a8427e51a75e1ed5d1e2639122d8e Mon Sep 17 00:00:00 2001 From: "Lubomir I. Ivanov" Date: Tue, 28 Oct 2014 13:35:15 +0200 Subject: 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 Signed-off-by: Dirk Hohndel --- cochran.c | 1 + 1 file changed, 1 insertion(+) (limited to 'cochran.c') diff --git a/cochran.c b/cochran.c index c0b851e50..142069991 100644 --- a/cochran.c +++ b/cochran.c @@ -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; -- cgit v1.2.3-70-g09d2