summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@gmail.com>2016-03-07 16:54:49 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-07 16:44:12 -0800
commita86a2e52c6f61b1e4ac68b9d78c855158f132d54 (patch)
tree99c8c2a6fc19ed5815aae0804295e28136f33787
parent91ee285d9314f78047853281f102cef20285e4da (diff)
downloadsubsurface-a86a2e52c6f61b1e4ac68b9d78c855158f132d54.tar.gz
Silence warnings in planner.c
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--subsurface-core/planner.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/subsurface-core/planner.c b/subsurface-core/planner.c
index db1460a5c..1828d5a11 100644
--- a/subsurface-core/planner.c
+++ b/subsurface-core/planner.c
@@ -866,6 +866,7 @@ static void add_plan_to_notes(struct diveplan *diveplan, struct dive *dive, bool
int ascent_velocity(int depth, int avg_depth, int bottom_time)
{
+ (void) bottom_time;
/* We need to make this configurable */
/* As an example (and possibly reasonable default) this is the Tech 1 provedure according