From 5cebf438495f04a2ce40522f3cd8b2489db8df9e Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Wed, 9 Mar 2016 15:19:38 -0300 Subject: Silence warnings in save-xml.c Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- 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 eabcf4f26..2335637e8 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 #include #include -- cgit v1.2.3-70-g09d2