diff options
author | Tomaz Canabrava <tomaz.canabrava@gmail.com> | 2016-03-09 15:19:06 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-03-09 11:44:48 -0800 |
commit | 91b096a310f4e3c8d0da8b0d0504356aed42b21b (patch) | |
tree | 193c2d4e0974d769c8d971fd58a89c8eb9820a98 | |
parent | f469a55a46521760adcf93d82491d27f80ec44e5 (diff) | |
download | subsurface-91b096a310f4e3c8d0da8b0d0504356aed42b21b.tar.gz |
Silence warnings in save-git.c
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | subsurface-core/save-git.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 <stdio.h> #include <ctype.h> #include <string.h> |