From: Florian Forster Date: Thu, 18 Jun 2015 07:16:18 +0000 (+0200) Subject: tail_csv plugin: Fix "Dead assignment" warning. X-Git-Tag: collectd-5.5.1~101^2~2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=db1a8eb6035b11a43b99cbca30cd66c555fa5178;p=collectd.git tail_csv plugin: Fix "Dead assignment" warning. --- 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);