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) {