projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c841b9
)
tail_csv plugin: Fix "Dead assignment" warning.
author
Florian Forster
<octo@collectd.org>
Thu, 18 Jun 2015 07:16:18 +0000
(09:16 +0200)
committer
Florian Forster
<octo@collectd.org>
Thu, 18 Jun 2015 08:28:09 +0000
(10:28 +0200)
src/tail_csv.c
patch
|
blob
|
history
diff --git
a/src/tail_csv.c
b/src/tail_csv.c
index
740095d
..
c3efcc9
100644
(file)
--- 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);