diff options
Diffstat (limited to 'core/save-git.c')
-rw-r--r-- | core/save-git.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/save-git.c b/core/save-git.c index 6496d28ad..7d7c8d9d2 100644 --- a/core/save-git.c +++ b/core/save-git.c @@ -350,7 +350,7 @@ static void save_samples(struct membuffer *b, struct dive *dive, struct divecomp int nr; int o2sensor; struct sample *s; - struct sample dummy = {}; + struct sample dummy = { .bearing.degrees = -1, .ndl.seconds = -1 }; /* Is this a CCR dive with the old-style "o2pressure" sensor? */ o2sensor = legacy_format_o2pressures(dive, dc); |