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