X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fdaemon%2Ftypes_list.c;h=7eb3cb2fd0d473423740d3451763f991b1a85f4b;hb=b42b13fa519d5235c7b88dc3659ce6cef075e7e7;hp=20df457a20f828811850cd8d4c82f35974a3fb15;hpb=466577ba65c6c4aa9b14e6232e7d1dbed37511e7;p=collectd.git 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));