diff options
-rw-r--r-- | subsurface-core/cochran.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/subsurface-core/cochran.c b/subsurface-core/cochran.c index 40149d577..5dc7eff11 100644 --- a/subsurface-core/cochran.c +++ b/subsurface-core/cochran.c @@ -1,3 +1,6 @@ +// Clang has a bug on zero-initialization of C structs. +#pragma clang diagnostic ignored "-Wmissing-field-initializers" + #include <stdlib.h> #include <stdio.h> #include <string.h> |