diff options
author | Tomaz Canabrava <tomaz.canabrava@gmail.com> | 2016-03-09 15:18:34 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-03-09 11:44:41 -0800 |
commit | 3d7a9a20958ac5567a20ff51663a4e15d02ea705 (patch) | |
tree | cf0bfacc800b5f1890f3d2feea5baf04f8f1425e /subsurface-core | |
parent | 77909ead62138deef7d7e29a40a6e6fae99014a2 (diff) | |
download | subsurface-3d7a9a20958ac5567a20ff51663a4e15d02ea705.tar.gz |
Silence warnings in membuffer.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/membuffer.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/subsurface-core/membuffer.c b/subsurface-core/membuffer.c index 2889a0cdc..053edb8f0 100644 --- a/subsurface-core/membuffer.c +++ b/subsurface-core/membuffer.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> |