From db1a8eb6035b11a43b99cbca30cd66c555fa5178 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Thu, 18 Jun 2015 09:16:18 +0200 Subject: [PATCH] tail_csv plugin: Fix "Dead assignment" warning. --- src/tail_csv.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/tail_csv.c b/src/tail_csv.c index 740095d6..c3efcc9a 100644 --- a/src/tail_csv.c +++ b/src/tail_csv.c @@ -312,7 +312,6 @@ static int tcsv_config_add_metric(oconfig_item_t *ci){ for (i = 0; i < ci->children_num; ++i){ oconfig_item_t *option = ci->children + i; - status = 0; if (strcasecmp("Type", option->key) == 0) status = cf_util_get_string(option, &md->type); -- 2.30.2