From a61ce696a41220db3565f9230f84b40a6400f9ca Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Wed, 9 Mar 2016 15:20:07 -0300 Subject: Silence warnings in worldmap-save.c Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- subsurface-core/worldmap-save.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/subsurface-core/worldmap-save.c b/subsurface-core/worldmap-save.c index f79978495..e7e8bcc30 100644 --- a/subsurface-core/worldmap-save.c +++ b/subsurface-core/worldmap-save.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