aboutsummaryrefslogtreecommitdiffstats
path: root/subsurface-core
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@gmail.com>2016-03-09 15:17:02 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-09 11:44:20 -0800
commit8109439261d00a5b61d7394dbeae9b6871cb9868 (patch)
treeedf7a970a6029200723211e4a4aa78d241c1763e /subsurface-core
parentea1350e960670b4d5c3ba38f07275eb7f7272369 (diff)
downloadsubsurface-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.c3
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>