mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
e64a25d715
commit
469f42f8d5
1 changed files with 1 additions and 0 deletions
|
@ -588,6 +588,7 @@ static void cochran_parse_samples(struct dive *dive, const unsigned char *log,
|
||||||
offset += config.sample_size;
|
offset += config.sample_size;
|
||||||
seconds++;
|
seconds++;
|
||||||
}
|
}
|
||||||
|
(void)ascent_rate; // mark the variable as unused
|
||||||
|
|
||||||
if (seconds > 0)
|
if (seconds > 0)
|
||||||
*duration = seconds - 1;
|
*duration = seconds - 1;
|
||||||
|
|
Loading…
Add table
Reference in a new issue