mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Cleanup: remove unnecessary get_gas_used() call
The result was not used anywhere, so why bother? Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
5d34103cb9
commit
54d6c3f004
1 changed files with 0 additions and 2 deletions
|
@ -563,8 +563,6 @@ void MainTab::updateDiveInfo()
|
|||
ui.duration->setText(render_seconds_to_string(current_dive->duration.seconds));
|
||||
ui.depth->setText(get_depth_string(current_dive->maxdepth, true));
|
||||
|
||||
volume_t gases[MAX_CYLINDERS] = {};
|
||||
get_gas_used(&displayed_dive, gases);
|
||||
int mean[MAX_CYLINDERS], duration[MAX_CYLINDERS];
|
||||
per_cylinder_mean_depth(&displayed_dive, select_dc(&displayed_dive), mean, duration);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue