From 8109439261d00a5b61d7394dbeae9b6871cb9868 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Wed, 9 Mar 2016 15:17:02 -0300 Subject: Silence warnings in datatrack.c Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- subsurface-core/datatrak.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'subsurface-core/datatrak.c') diff --git a/subsurface-core/datatrak.c b/subsurface-core/datatrak.c index fb05c1701..204ebd9b3 100644 --- a/subsurface-core/datatrak.c +++ b/subsurface-core/datatrak.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