summaryrefslogtreecommitdiffstats
path: root/subsurface-core/equipment.c
diff options
context:
space:
mode:
Diffstat (limited to 'subsurface-core/equipment.c')
-rw-r--r--subsurface-core/equipment.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/subsurface-core/equipment.c b/subsurface-core/equipment.c
index 47c439735..9f3e49039 100644
--- a/subsurface-core/equipment.c
+++ b/subsurface-core/equipment.c
@@ -1,3 +1,6 @@
+// Clang has a bug on zero-initialization of C structs.
+#pragma clang diagnostic ignored "-Wmissing-field-initializers"
+
/* equipment.c */
#include <stdio.h>
#include <string.h>