diff options
author | Tomaz Canabrava <tomaz.canabrava@gmail.com> | 2016-03-09 15:18:05 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-03-09 11:44:35 -0800 |
commit | d3bbb85b86e5edfbb8a8f0387eae3891e05db56e (patch) | |
tree | 309ed7f413aba3f8bc3a012aa365948461980390 | |
parent | 4fba31979147ad221d94853d4de6cc3d33c4ef1e (diff) | |
download | subsurface-d3bbb85b86e5edfbb8a8f0387eae3891e05db56e.tar.gz |
Silence warnings in libdivecomputer.c
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-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> |