summaryrefslogtreecommitdiffstats
path: root/cochran.c
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2014-10-28 13:35:15 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-10-28 07:40:03 -0700
commit469f42f8d58a8427e51a75e1ed5d1e2639122d8e (patch)
treebe65b09f9b42fb3c0b743d057f6cdf7c47238fc5 /cochran.c
parente64a25d715396e51a34462b3ab031d7c64d99027 (diff)
downloadsubsurface-469f42f8d58a8427e51a75e1ed5d1e2639122d8e.tar.gz
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>
Diffstat (limited to 'cochran.c')
-rw-r--r--cochran.c1
1 files changed, 1 insertions, 0 deletions
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;