X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Finterface.c;h=86110b0c4bfedcd307d84c26188265124893a745;hp=3e2b2cd5fb99362a6b721e3f94ee92a219fbc996;hb=d486225f89ea52d8ed2b4242eba2ad94c409f837;hpb=7b0628b4f4688d48d89f94ca381ca6340da05b37 diff --git a/src/interface.c b/src/interface.c index 3e2b2cd5..86110b0c 100644 --- a/src/interface.c +++ b/src/interface.c @@ -86,7 +86,7 @@ static const char *config_keys[] = { }; static int config_keys_num = STATIC_ARRAY_SIZE(config_keys); -static ignorelist_t *ignorelist = NULL; +static ignorelist_t *ignorelist; static bool report_inactive = true; @@ -97,7 +97,7 @@ static bool report_inactive = true; #define MAX_NUMIF 256 extern kstat_ctl_t *kc; static kstat_t *ksp[MAX_NUMIF]; -static int numif = 0; +static int numif; static bool unique_name; #endif /* HAVE_LIBKSTAT */