summaryrefslogtreecommitdiffstats
path: root/subsurface-core
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@gmail.com>2016-03-09 15:17:17 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-09 11:44:24 -0800
commit1048845650d3ae7e8cea93eec06e8ab86f02d3e5 (patch)
treeba18db6f84c1e790994543561d23f36a64c26caf /subsurface-core
parent8109439261d00a5b61d7394dbeae9b6871cb9868 (diff)
downloadsubsurface-1048845650d3ae7e8cea93eec06e8ab86f02d3e5.tar.gz
Silence warnings in equipment.c
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-core')
-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>