diff options
author | Stefan Fuchs <sfuchs@gmx.de> | 2017-11-25 22:39:15 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-11-25 15:40:04 -0800 |
commit | 3d421584aa5baab32e744e6b57cd5562568d7327 (patch) | |
tree | 2f73cf28359c38a75ed1efe2b046505e1c6c7ffe /core/planner.c | |
parent | 01d961086c1d175732c597dc9acdba7cc4cd2d26 (diff) | |
download | subsurface-3d421584aa5baab32e744e6b57cd5562568d7327.tar.gz |
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>
Diffstat (limited to 'core/planner.c')
-rw-r--r-- | core/planner.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/core/planner.c b/core/planner.c index 6aa5cc2f4..fddb3f0e0 100644 --- a/core/planner.c +++ b/core/planner.c @@ -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); |