planner.c: prevent an uninitialized warning
"warning: 'bottom_time' may be used uninitialized in this function" we set it to zero for now. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
8b3ebaa8a3
commit
32e89123a2
@ -692,7 +692,7 @@ void plan(struct diveplan *diveplan, char **cached_datap, struct dive **divep, s
|
||||
bool stopping = false;
|
||||
bool clear_to_ascend;
|
||||
int clock, previous_point_time;
|
||||
int avg_depth, bottom_time;
|
||||
int avg_depth, bottom_time = 0;
|
||||
int last_ascend_rate;
|
||||
int best_first_ascend_cylinder;
|
||||
struct gasmix gas;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user