X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Fperl.c;h=4c6387dab2897cb14b1dc9ebe7ec001933ef9f6b;hp=6683b4cc323eb3bb1790c2ac25e4c7e60548d244;hb=ec51ddee94fa2ba1e01fe0e336ccc9c190a198ff;hpb=7b0628b4f4688d48d89f94ca381ca6340da05b37 diff --git a/src/perl.c b/src/perl.c index 6683b4cc..4c6387da 100644 --- a/src/perl.c +++ b/src/perl.c @@ -187,13 +187,13 @@ static bool register_legacy_flush = true; /* if perl_threads != NULL perl_threads->head must * point to the "base" thread */ -static c_ithread_list_t *perl_threads = NULL; +static c_ithread_list_t *perl_threads; /* the key used to store each pthread's ithread */ static pthread_key_t perl_thr_key; -static int perl_argc = 0; -static char **perl_argv = NULL; +static int perl_argc; +static char **perl_argv; static char base_name[DATA_MAX_NAME_LEN] = "";