X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Futils_vl_lookup_test.c;h=668a8d0ca4975c3fc669ade6834ad0f5cf97445c;hb=3fae5596643f1e361eb18c3d65448f8bc02fdd80;hp=2d541eea9a29e021f15c88d3e2774afdda2b3213;hpb=50345eec33951b964e2829e83c30399b71f2baba;p=collectd.git diff --git a/src/utils_vl_lookup_test.c b/src/utils_vl_lookup_test.c index 2d541eea..668a8d0c 100644 --- a/src/utils_vl_lookup_test.c +++ b/src/utils_vl_lookup_test.c @@ -90,7 +90,6 @@ static int checked_lookup_add (lookup_t *obj, /* {{{ */ identifier_t ident; void *user_class; - memset (&ident, 0, sizeof (ident)); strncpy (ident.host, host, sizeof (ident.host)); strncpy (ident.plugin, plugin, sizeof (ident.plugin)); strncpy (ident.plugin_instance, plugin_instance, sizeof (ident.plugin_instance));