From 3dceac33c4fab0f5aabf59bc668a9326bcd1447e Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Tue, 19 Feb 2019 12:39:00 +0100 Subject: [PATCH] Please clang --- src/daemon/types_list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/daemon/types_list.c b/src/daemon/types_list.c index 20df457a..7eb3cb2f 100644 --- a/src/daemon/types_list.c +++ b/src/daemon/types_list.c @@ -104,7 +104,7 @@ static void parse_line(char *buf) { if (fields[0][0] == '#') return; - data_set_t ds = {0}; + data_set_t ds = {{0}}; sstrncpy(ds.type, fields[0], sizeof(ds.type)); -- 2.11.0