From 671b79940f4a187ffed28a720dc782208240f0b4 Mon Sep 17 00:00:00 2001 From: Ulrich Habel Date: Wed, 29 Oct 2008 07:01:12 +0100 Subject: [PATCH] perl plugin: Fix an uninitialized variable warning. Resolves: #33 --- src/perl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/perl.c b/src/perl.c index 2946ab3a..400057b7 100644 --- a/src/perl.c +++ b/src/perl.c @@ -1790,7 +1790,7 @@ static int perl_config (oconfig_item_t *ci) for (i = 0; i < ci->children_num; ++i) { oconfig_item_t *c = ci->children + i; - int current_status; + int current_status = 0; if (NULL != perl_threads) aTHX = PERL_GET_CONTEXT; -- 2.11.0