summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--planner.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/planner.c b/planner.c
index 8cc9b6f85..c34b59ac5 100644
--- a/planner.c
+++ b/planner.c
@@ -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;