From ebd643d6d564fc249cd42b130c4bbabd813ea6fd Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Thu, 18 Jun 2015 15:31:11 +0200 Subject: [PATCH] tail plugin: Make sure variable is initialized. This was introduced by the merge (09c6a320f3cb36b5dbb2c2ce43858f33be7acf9b). --- src/tail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tail.c b/src/tail.c index 72d97a38..181b752f 100644 --- a/src/tail.c +++ b/src/tail.c @@ -230,7 +230,7 @@ static int ctail_config_add_file (oconfig_item_t *ci) for (i = 0; i < ci->children_num; i++) { oconfig_item_t *option = ci->children + i; - int status; + int status = 0; if (strcasecmp ("Match", option->key) == 0) { -- 2.30.2