From 3d421584aa5baab32e744e6b57cd5562568d7327 Mon Sep 17 00:00:00 2001 From: Stefan Fuchs Date: Sat, 25 Nov 2017 22:39:15 +0100 Subject: In planner.c remove unused variable o2break_done Reported-by: Berthold Stoeger Signed-off-by: Stefan Fuchs --- core/planner.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'core') 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); -- cgit v1.2.3-70-g09d2