mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
In planner.c remove unused variable o2break_done
Reported-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at> Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
This commit is contained in:
parent
01d961086c
commit
3d421584aa
1 changed files with 0 additions and 2 deletions
|
@ -675,7 +675,6 @@ bool plan(struct deco_state *ds, struct diveplan *diveplan, struct dive *dive, i
|
|||
int best_first_ascend_cylinder;
|
||||
struct gasmix gas, bottom_gas;
|
||||
bool o2break_next = false;
|
||||
bool o2break_done = false;
|
||||
int break_cylinder = -1, breakfrom_cylinder = 0;
|
||||
bool last_segment_min_switch = false;
|
||||
int error = 0;
|
||||
|
@ -1021,7 +1020,6 @@ bool plan(struct deco_state *ds, struct diveplan *diveplan, struct dive *dive, i
|
|||
new_clock = clock + laststoptime;
|
||||
o2breaking = true;
|
||||
o2break_next = true;
|
||||
o2break_done = true;
|
||||
breakfrom_cylinder = current_cylinder;
|
||||
if (is_final_plan)
|
||||
plan_add_segment(diveplan, laststoptime, depth, current_cylinder, po2, false);
|
||||
|
|
Loading…
Add table
Reference in a new issue