summaryrefslogtreecommitdiffstats
path: root/subsurface-core
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@gmail.com>2016-03-07 16:54:31 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-07 16:43:57 -0800
commit91ee285d9314f78047853281f102cef20285e4da (patch)
treed296f21814d633814d7bb2bbafc74b0a85aa41d5 /subsurface-core
parentf81dd80a483ec0380248688784c463fbf7684920 (diff)
downloadsubsurface-91ee285d9314f78047853281f102cef20285e4da.tar.gz
Silence warnings in deco.c
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-core')
-rw-r--r--subsurface-core/deco.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/subsurface-core/deco.c b/subsurface-core/deco.c
index 506d8b58f..dff88d338 100644
--- a/subsurface-core/deco.c
+++ b/subsurface-core/deco.c
@@ -489,6 +489,7 @@ void calc_crushing_pressure(double pressure)
/* add period_in_seconds at the given pressure and gas to the deco calculation */
void add_segment(double pressure, const struct gasmix *gasmix, int period_in_seconds, int ccpo2, const struct dive *dive, int sac)
{
+ (void) sac;
int ci;
struct gas_pressures pressures;