diff options
Diffstat (limited to 'core/save-xml.c')
-rw-r--r-- | core/save-xml.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/save-xml.c b/core/save-xml.c index 5bc4f5b38..fe1d73817 100644 --- a/core/save-xml.c +++ b/core/save-xml.c @@ -364,7 +364,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 }; /* Set up default pressure sensor indexes */ o2sensor = legacy_format_o2pressures(dive, dc); |