summaryrefslogtreecommitdiffstats
path: root/subsurface-core
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@gmail.com>2016-03-09 15:19:22 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-09 11:44:51 -0800
commitdf55799a980f4b0f6a84bea637dc1df518910883 (patch)
tree0f5a7e114231f5bccbfaf43fcfeb1b291a9a717c /subsurface-core
parent91b096a310f4e3c8d0da8b0d0504356aed42b21b (diff)
downloadsubsurface-df55799a980f4b0f6a84bea637dc1df518910883.tar.gz
Silence warnings in save-html.c
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-core')
-rw-r--r--subsurface-core/save-html.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/subsurface-core/save-html.c b/subsurface-core/save-html.c
index 5fc5b000a..2d0ea9cf3 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"