summaryrefslogtreecommitdiffstats
path: root/cochran.c
diff options
context:
space:
mode:
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;