diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-10-02 17:41:02 -0400 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-10-02 17:41:02 -0400 |
commit | ae854ff82277c632fc3e10683780ab64d1a36cb2 (patch) | |
tree | 01e6ef10a366334e97b8858a15adf073ce5e7929 | |
parent | d9bbb97bd0b8214d9f072b79858f030da3b43eff (diff) | |
download | subsurface-ae854ff82277c632fc3e10683780ab64d1a36cb2.tar.gz |
Remove pointless assignment
In every code path stopping is overwritten before it is ever accessed.
Coverity CID 1325278
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | planner.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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; |