From 91b096a310f4e3c8d0da8b0d0504356aed42b21b Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Wed, 9 Mar 2016 15:19:06 -0300 Subject: Silence warnings in save-git.c Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- subsurface-core/save-git.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'subsurface-core') diff --git a/subsurface-core/save-git.c b/subsurface-core/save-git.c index 054c7e9b4..d089095b6 100644 --- a/subsurface-core/save-git.c +++ b/subsurface-core/save-git.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