X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Futils_vl_lookup_test.c;h=44660638c4234b79a85e77566f338b7383f33bcd;hb=e1bfa71aca1f37c2f293dc9adb44065c6e7a9ad9;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..44660638 100644 --- a/src/utils_vl_lookup_test.c +++ b/src/utils_vl_lookup_test.c @@ -25,6 +25,7 @@ **/ #include "collectd.h" + #include "testing.h" #include "utils_vl_lookup.h" @@ -90,7 +91,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));