diff options
Diffstat (limited to 'core/libdivecomputer.c')
-rw-r--r-- | core/libdivecomputer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/libdivecomputer.c b/core/libdivecomputer.c index 8ffb49d43..f8f9823c2 100644 --- a/core/libdivecomputer.c +++ b/core/libdivecomputer.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 <stdio.h> #include <unistd.h> |