From ffdd54b432da62230444d9bd83d3e126c9c8e397 Mon Sep 17 00:00:00 2001
From: Tomaz Canabrava <tomaz.canabrava@gmail.com>
Date: Wed, 9 Mar 2016 15:19:38 -0300
Subject: [PATCH 16/18] Fix warnings in save-xml.c

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com>
---
 subsurface-core/save-xml.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/subsurface-core/save-xml.c b/subsurface-core/save-xml.c
index eabcf4f..2335637 100644
--- a/subsurface-core/save-xml.c
+++ b/subsurface-core/save-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>
-- 
2.5.4 (Apple Git-61)

