summaryrefslogtreecommitdiffstats
path: root/subsurface-core/git-access.c
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@gmail.com>2016-03-09 15:17:47 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-09 11:44:30 -0800
commit4fba31979147ad221d94853d4de6cc3d33c4ef1e (patch)
tree987baab76e81af0c947d38519d0ab7aab38a2c1f /subsurface-core/git-access.c
parent2da2eb79bcdf9eb0c55ded3c4588e2b678fff6b0 (diff)
downloadsubsurface-4fba31979147ad221d94853d4de6cc3d33c4ef1e.tar.gz
Silence warnings in git-access.c
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-core/git-access.c')
-rw-r--r--subsurface-core/git-access.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/subsurface-core/git-access.c b/subsurface-core/git-access.c
index e986607ab..f18762bfc 100644
--- a/subsurface-core/git-access.c
+++ b/subsurface-core/git-access.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>