summaryrefslogtreecommitdiffstats
path: root/core/worldmap-save.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/worldmap-save.c')
-rw-r--r--core/worldmap-save.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/worldmap-save.c b/core/worldmap-save.c
index e7e8bcc30..8ad6535ba 100644
--- a/core/worldmap-save.c
+++ b/core/worldmap-save.c
@@ -1,5 +1,7 @@
+#ifdef __clang__
// Clang has a bug on zero-initialization of C structs.
#pragma clang diagnostic ignored "-Wmissing-field-initializers"
+#endif
#include <stdarg.h>
#include <stdlib.h>