tail_csv plugin: Fix "Dead assignment" warning.
authorFlorian Forster <octo@collectd.org>
Thu, 18 Jun 2015 07:16:18 +0000 (09:16 +0200)
committerFlorian Forster <octo@collectd.org>
Thu, 18 Jun 2015 08:28:09 +0000 (10:28 +0200)
src/tail_csv.c

index 740095d..c3efcc9 100644 (file)
@@ -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);