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>
This commit is contained in:
Dirk Hohndel 2015-10-02 17:41:02 -04:00
parent d9bbb97bd0
commit ae854ff822

View file

@ -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;