From df55799a980f4b0f6a84bea637dc1df518910883 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Wed, 9 Mar 2016 15:19:22 -0300 Subject: Silence warnings in save-html.c Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- 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 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" -- cgit v1.2.3-70-g09d2