mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-01 00:13:24 +00:00
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:
parent
d9bbb97bd0
commit
ae854ff822
1 changed files with 0 additions and 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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue