diff options
author | Tomaz Canabrava <tomaz.canabrava@gmail.com> | 2016-03-09 15:17:02 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-03-09 11:44:20 -0800 |
commit | 8109439261d00a5b61d7394dbeae9b6871cb9868 (patch) | |
tree | edf7a970a6029200723211e4a4aa78d241c1763e /subsurface-core | |
parent | ea1350e960670b4d5c3ba38f07275eb7f7272369 (diff) | |
download | subsurface-8109439261d00a5b61d7394dbeae9b6871cb9868.tar.gz |
Silence warnings in datatrack.c
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-core')
-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> |