X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Futils_vl_lookup_test.c;h=1cb7b65bfda6b3b6d44e38cfc9d4a5a8b3349879;hb=ce2eb567629eb21d650d5c27fefe607837c061fd;hp=274ddcd4dc93f77bf5f623331f2b45b298ed3c10;hpb=cc4ccdd5b5a991e3241f5107ec2161667a11b35d;p=collectd.git diff --git a/src/utils_vl_lookup_test.c b/src/utils_vl_lookup_test.c index 274ddcd4..1cb7b65b 100644 --- a/src/utils_vl_lookup_test.c +++ b/src/utils_vl_lookup_test.c @@ -85,7 +85,7 @@ static int checked_lookup_add(lookup_t *obj, /* {{{ */ char const *plugin_instance, char const *type, char const *type_instance, unsigned int group_by) { - lookup_identifier_t ident = {0}; + lookup_identifier_t ident = {{0}}; void *user_class; strncpy(ident.host, host, sizeof(ident.host) - 1);