mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Cleanup: remove unused parameter used from find_best_gasmix_match()
The last direct user of the used parameter was removed in16276faa45
, the last actual user ine2bbd0ceec
. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
219c230506
commit
3e88bd686f
5 changed files with 5 additions and 7 deletions
|
@ -334,7 +334,7 @@ int get_cylinder_index(const struct dive *dive, const struct event *ev)
|
|||
fprintf(stderr, "Still looking up cylinder based on gas mix in get_cylinder_index()!\n");
|
||||
|
||||
mix = get_gasmix_from_event(dive, ev);
|
||||
best = find_best_gasmix_match(mix, dive->cylinder, 0);
|
||||
best = find_best_gasmix_match(mix, dive->cylinder);
|
||||
return best < 0 ? 0 : best;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue