Please clang
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 20df457..7eb3cb2 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));