]> git.ipfire.org Git - thirdparty/collectd.git/commitdiff
Please clang 3091/head
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Tue, 19 Feb 2019 11:39:00 +0000 (12:39 +0100)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Tue, 19 Feb 2019 11:39:00 +0000 (12:39 +0100)
src/daemon/types_list.c

index 20df457a20f828811850cd8d4c82f35974a3fb15..7eb3cb2fd0d473423740d3451763f991b1a85f4b 100644 (file)
@@ -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));