summaryrefslogtreecommitdiffstats
path: root/subsurface-core
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@gmail.com>2016-03-09 15:18:19 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-09 11:44:38 -0800
commit77909ead62138deef7d7e29a40a6e6fae99014a2 (patch)
tree0c71461d630585851f0843d6998fab4b24849d86 /subsurface-core
parentd3bbb85b86e5edfbb8a8f0387eae3891e05db56e (diff)
downloadsubsurface-77909ead62138deef7d7e29a40a6e6fae99014a2.tar.gz
Silence warnings in load-git.c
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-core')
-rw-r--r--subsurface-core/load-git.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/subsurface-core/load-git.c b/subsurface-core/load-git.c
index cc702f6ae..a78082c07 100644
--- a/subsurface-core/load-git.c
+++ b/subsurface-core/load-git.c
@@ -1,3 +1,6 @@
+// Clang has a bug on zero-initialization of C structs.
+#pragma clang diagnostic ignored "-Wmissing-field-initializers"
+
#include <stdio.h>
#include <ctype.h>
#include <string.h>