aboutsummaryrefslogtreecommitdiffstats
path: root/subsurface-core/save-html.c
diff options
context:
space:
mode:
Diffstat (limited to 'subsurface-core/save-html.c')
-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"