X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Futils_vl_lookup_test.c;h=b5a8e61a6f14514da2191a8382409c47d0907004;hb=a4b9c9ad2d77656892026ad4b51f9fb7c2a58149;hp=b3765e9f41d74b1067b2085d52995bdd940e865a;hpb=7747e2ad9a86c2307094cd4ca3f753e46329c7a5;p=collectd.git diff --git a/src/utils_vl_lookup_test.c b/src/utils_vl_lookup_test.c index b3765e9f..b5a8e61a 100644 --- a/src/utils_vl_lookup_test.c +++ b/src/utils_vl_lookup_test.c @@ -111,7 +111,7 @@ static int checked_lookup_search (lookup_t *obj, _Bool expect_new) { int status; - value_list_t vl = VALUE_LIST_STATIC; + value_list_t vl = VALUE_LIST_INIT; data_set_t const *ds = &ds_unknown; strncpy (vl.host, host, sizeof (vl.host));