From 1048845650d3ae7e8cea93eec06e8ab86f02d3e5 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Wed, 9 Mar 2016 15:17:17 -0300 Subject: Silence warnings in equipment.c Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- subsurface-core/equipment.c | 3 +++ 1 file changed, 3 insertions(+) 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 #include -- cgit v1.2.3-70-g09d2