diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2014-10-28 13:35:15 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-10-28 07:40:03 -0700 |
commit | 469f42f8d58a8427e51a75e1ed5d1e2639122d8e (patch) | |
tree | be65b09f9b42fb3c0b743d057f6cdf7c47238fc5 /cochran.c | |
parent | e64a25d715396e51a34462b3ab031d7c64d99027 (diff) | |
download | subsurface-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.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |