diff options
author | Tomaz Canabrava <tomaz.canabrava@gmail.com> | 2016-03-09 15:19:38 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-03-09 11:44:54 -0800 |
commit | 5cebf438495f04a2ce40522f3cd8b2489db8df9e (patch) | |
tree | 688f75fdcfa1c7caa95b20bf12753cf81d1e4638 | |
parent | df55799a980f4b0f6a84bea637dc1df518910883 (diff) | |
download | subsurface-5cebf438495f04a2ce40522f3cd8b2489db8df9e.tar.gz |
Silence warnings in save-xml.c
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | subsurface-core/save-xml.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/subsurface-core/save-xml.c b/subsurface-core/save-xml.c index eabcf4f26..2335637e8 100644 --- a/subsurface-core/save-xml.c +++ b/subsurface-core/save-xml.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> |