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 b4400a88b..8cc9b6f85 100644
--- a/planner.c
+++ b/planner.c
@@ -369,7 +369,7 @@ struct divedatapoint *get_nth_dp(struct diveplan *diveplan, int idx)
{
struct divedatapoint **ldpp, *dp = diveplan->dp;
int i = 0;
- struct gasmix air = { 0 };
+ struct gasmix air = { };
ldpp = &diveplan->dp;
while (dp && i++ < idx) {