aboutsummaryrefslogtreecommitdiffstats
path: root/subsurface-core/parse-xml.c
diff options
context:
space:
mode:
Diffstat (limited to 'subsurface-core/parse-xml.c')
-rw-r--r--subsurface-core/parse-xml.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/subsurface-core/parse-xml.c b/subsurface-core/parse-xml.c
index a617648fb..12e029fe2 100644
--- a/subsurface-core/parse-xml.c
+++ b/subsurface-core/parse-xml.c
@@ -1,3 +1,6 @@
+// Clang has a bug on zero-initialization of C structs.
+#pragma clang diagnostic ignored "-Wmissing-field-initializers"
+
#include <stdio.h>
#include <ctype.h>
#include <string.h>