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

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

diff --git a/subsurface-core/save-html.c b/subsurface-core/save-html.c
index 5fc5b00..2d0ea9c 100644
--- a/subsurface-core/save-html.c
+++ b/subsurface-core/save-html.c
@@ -1,3 +1,6 @@
+// Clang has a bug on zero-initialization of C structs.
+#pragma clang diagnostic ignored "-Wmissing-field-initializers"
+
 #include "save-html.h"
 #include "qthelperfromc.h"
 #include "gettext.h"
-- 
2.5.4 (Apple Git-61)

