summaryrefslogtreecommitdiffstats
path: root/planner.c
diff options
context:
space:
mode:
Diffstat (limited to 'planner.c')
-rw-r--r--planner.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/planner.c b/planner.c
index 722eeb12e..67d999fa3 100644
--- a/planner.c
+++ b/planner.c
@@ -536,7 +536,7 @@ static void add_plan_to_notes(struct diveplan *diveplan, struct dive *dive, bool
char *temp = (char *)malloc(sz_temp);
char buf[1000], *deco;
int len, lastdepth = 0, lasttime = 0, lastsetpoint = -1, newdepth = 0, lastprintdepth = 0, lastprintsetpoint = -1;
- struct gasmix lastprintgasmix = { -1, -1 };
+ struct gasmix lastprintgasmix = {{ -1 }, { -1 }};
struct divedatapoint *dp = diveplan->dp;
bool gaschange_after = !plan_verbatim;
bool gaschange_before;
@@ -975,7 +975,6 @@ bool plan(struct diveplan *diveplan, char **cached_datap, bool is_planner, bool
unsigned int *stoplevels = NULL;
bool stopping = false;
bool pendinggaschange = false;
- bool clear_to_ascend;
int clock, previous_point_time;
int avg_depth, max_depth, bottom_time = 0;
int last_ascend_rate;