diff options
Diffstat (limited to 'core/ssrf.h')
-rw-r--r-- | core/ssrf.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/ssrf.h b/core/ssrf.h index a07436d80..7f65f2dc5 100644 --- a/core/ssrf.h +++ b/core/ssrf.h @@ -6,6 +6,10 @@ extern "C" { #endif +#ifdef __clang__ +// Clang has a bug on zero-initialization of C structs. +#pragma clang diagnostic ignored "-Wmissing-field-initializers" +#endif #ifdef __cplusplus } |