diff options
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> |