From 3d7a9a20958ac5567a20ff51663a4e15d02ea705 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Wed, 9 Mar 2016 15:18:34 -0300 Subject: [PATCH] Silence warnings in membuffer.c Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- subsurface-core/membuffer.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/subsurface-core/membuffer.c b/subsurface-core/membuffer.c index 2889a0cdc..053edb8f0 100644 --- a/subsurface-core/membuffer.c +++ b/subsurface-core/membuffer.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