From ae854ff82277c632fc3e10683780ab64d1a36cb2 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Fri, 2 Oct 2015 17:41:02 -0400 Subject: Remove pointless assignment In every code path stopping is overwritten before it is ever accessed. Coverity CID 1325278 Signed-off-by: Dirk Hohndel --- planner.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'planner.c') diff --git a/planner.c b/planner.c index 8964bb48b..4a2fb3439 100644 --- a/planner.c +++ b/planner.c @@ -1118,8 +1118,6 @@ bool plan(struct diveplan *diveplan, char **cached_datap, bool is_planner, bool } if (best_first_ascend_cylinder != current_cylinder) { - stopping = true; - current_cylinder = best_first_ascend_cylinder; gas = displayed_dive.cylinder[current_cylinder].gasmix; -- cgit v1.2.3-70-g09d2