From: Ruben Kerkhof Date: Tue, 19 Feb 2019 11:39:00 +0000 (+0100) Subject: Please clang X-Git-Tag: collectd-5.9.0~41^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3dceac33c4fab0f5aabf59bc668a9326bcd1447e;p=thirdparty%2Fcollectd.git Please clang --- diff --git a/src/daemon/types_list.c b/src/daemon/types_list.c index 20df457a2..7eb3cb2fd 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));