diff options
author | Tomaz Canabrava <tomaz.canabrava@gmail.com> | 2016-03-09 15:20:07 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-03-09 11:44:57 -0800 |
commit | a61ce696a41220db3565f9230f84b40a6400f9ca (patch) | |
tree | e66fe02224490a5583db823c3a774036a1cff7b3 | |
parent | 5cebf438495f04a2ce40522f3cd8b2489db8df9e (diff) | |
download | subsurface-a61ce696a41220db3565f9230f84b40a6400f9ca.tar.gz |
Silence warnings in worldmap-save.c
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | subsurface-core/worldmap-save.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/subsurface-core/worldmap-save.c b/subsurface-core/worldmap-save.c index f79978495..e7e8bcc30 100644 --- a/subsurface-core/worldmap-save.c +++ b/subsurface-core/worldmap-save.c @@ -1,3 +1,6 @@ +// Clang has a bug on zero-initialization of C structs. +#pragma clang diagnostic ignored "-Wmissing-field-initializers" + #include <stdarg.h> #include <stdlib.h> #include <string.h> |