diff --git a/src/target_v5upgrade.c b/src/target_v5upgrade.c
index d85a181fb933d9fbdda91c8c366539834fbf8586..f7baa3aee468ce5e1a5cac6f29ea7f2a8ee8ecc9 100644 (file)
--- a/src/target_v5upgrade.c
+++ b/src/target_v5upgrade.c
**/
#include "collectd.h"
+
#include "plugin.h"
#include "common.h"
#include "filter_chain.h"
void module_register (void)
{
- target_proc_t tproc;
+ target_proc_t tproc = { 0 };
- memset (&tproc, 0, sizeof (tproc));
tproc.create = v5_create;
tproc.destroy = v5_destroy;
tproc.invoke = v5_invoke;