summaryrefslogtreecommitdiffstats
path: root/core/cochran.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/cochran.c')
-rw-r--r--core/cochran.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/cochran.c b/core/cochran.c
index c31e78f79..430c3b48a 100644
--- a/core/cochran.c
+++ b/core/cochran.c
@@ -1,5 +1,7 @@
+#ifdef __clang__
// Clang has a bug on zero-initialization of C structs.
#pragma clang diagnostic ignored "-Wmissing-field-initializers"
+#endif
#include <stdlib.h>
#include <stdio.h>