diff options
-rw-r--r-- | subsurface-core/datatrak.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/subsurface-core/datatrak.c b/subsurface-core/datatrak.c index fb05c1701..204ebd9b3 100644 --- a/subsurface-core/datatrak.c +++ b/subsurface-core/datatrak.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> |