From: Ruben Kerkhof Date: Tue, 19 Feb 2019 11:39:00 +0000 (+0100) Subject: Please clang X-Git-Url: https://git.octo.it/?a=commitdiff_plain;h=3dceac33c4fab0f5aabf59bc668a9326bcd1447e;p=collectd.git Please clang --- 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));