summaryrefslogtreecommitdiffstats
path: root/planner.c
diff options
context:
space:
mode:
Diffstat (limited to 'planner.c')
-rw-r--r--planner.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/planner.c b/planner.c
index e3d14ca07..8964bb48b 100644
--- a/planner.c
+++ b/planner.c
@@ -540,7 +540,7 @@ static void add_plan_to_notes(struct diveplan *diveplan, struct dive *dive, bool
struct divedatapoint *dp = diveplan->dp;
bool gaschange_after = !plan_verbatim;
bool gaschange_before;
- bool lastentered;
+ bool lastentered = true;
struct divedatapoint *nextdp = NULL;
plan_verbatim = prefs.verbatim_plan;