summaryrefslogtreecommitdiffstats
path: root/core/planner.c
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-06-05 20:31:35 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-06-19 13:11:10 -0700
commit3e88bd686fe2f01d3a32b32e6bbff9d92ebfac6d (patch)
tree4c6999c63b70d993e69cd744178356c91f900735 /core/planner.c
parent219c230506a6af45962071a1be2e875e13f4851e (diff)
downloadsubsurface-3e88bd686fe2f01d3a32b32e6bbff9d92ebfac6d.tar.gz
Cleanup: remove unused parameter used from find_best_gasmix_match()
The last direct user of the used parameter was removed in 16276faa45279817e363367550a6a37c179251f7, the last actual user in e2bbd0ceecff7193bb272430fbebfc4b02dd67c3. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/planner.c')
-rw-r--r--core/planner.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/planner.c b/core/planner.c
index e0c2ec667..0abb62920 100644
--- a/core/planner.c
+++ b/core/planner.c
@@ -91,7 +91,7 @@ int get_cylinderid_at_time(struct dive *dive, struct divecomputer *dc, duration_
int get_gasidx(struct dive *dive, struct gasmix mix)
{
- return find_best_gasmix_match(mix, dive->cylinder, 0);
+ return find_best_gasmix_match(mix, dive->cylinder);
}
void interpolate_transition(struct deco_state *ds, struct dive *dive, duration_t t0, duration_t t1, depth_t d0, depth_t d1, struct gasmix gasmix, o2pressure_t po2, enum divemode_t divemode)