Cleanup: remove unused parameter used from find_best_gasmix_match()

The last direct user of the used parameter was removed in
16276faa45, the last actual user in
e2bbd0ceec.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2019-06-05 20:31:35 +02:00 committed by Dirk Hohndel
parent 219c230506
commit 3e88bd686f
5 changed files with 5 additions and 7 deletions

View file

@ -1431,7 +1431,7 @@ static bool validate_gaschange(struct dive *dive, struct event *event)
if (event->gas.index >= 0)
return true;
index = find_best_gasmix_match(event->gas.mix, dive->cylinder, 0);
index = find_best_gasmix_match(event->gas.mix, dive->cylinder);
if (index < 0)
return false;