From d3bbb85b86e5edfbb8a8f0387eae3891e05db56e Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Wed, 9 Mar 2016 15:18:05 -0300 Subject: Silence warnings in libdivecomputer.c Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- subsurface-core/libdivecomputer.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/subsurface-core/libdivecomputer.c b/subsurface-core/libdivecomputer.c index 0d0b397dc..5587590b8 100644 --- a/subsurface-core/libdivecomputer.c +++ b/subsurface-core/libdivecomputer.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