aboutsummaryrefslogtreecommitdiffstats
path: root/subsurface-core/cochran.c
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@gmail.com>2016-03-09 15:16:41 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-09 11:44:17 -0800
commitea1350e960670b4d5c3ba38f07275eb7f7272369 (patch)
treef0dadc5e805380df96e65f35dcf46a5583e0e375 /subsurface-core/cochran.c
parent6a96fe25ec8b9c7751898a74cb68f672e2df0988 (diff)
downloadsubsurface-ea1350e960670b4d5c3ba38f07275eb7f7272369.tar.gz
Silence warnings in cochram.c
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-core/cochran.c')
-rw-r--r--subsurface-core/cochran.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/subsurface-core/cochran.c b/subsurface-core/cochran.c
index 40149d577..5dc7eff11 100644
--- a/subsurface-core/cochran.c
+++ b/subsurface-core/cochran.c
@@ -1,3 +1,6 @@
+// Clang has a bug on zero-initialization of C structs.
+#pragma clang diagnostic ignored "-Wmissing-field-initializers"
+
#include <stdlib.h>
#include <stdio.h>
#include <string.h>