diff options
-rw-r--r-- | subsurface-core/libdivecomputer.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/subsurface-core/libdivecomputer.c b/subsurface-core/libdivecomputer.c index 0d0b397dc..5587590b8 100644 --- a/subsurface-core/libdivecomputer.c +++ b/subsurface-core/libdivecomputer.c @@ -1,3 +1,6 @@ +// Clang has a bug on zero-initialization of C structs. +#pragma clang diagnostic ignored "-Wmissing-field-initializers" + #include <stdio.h> #include <unistd.h> #include <inttypes.h> |