projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10e6e69
)
tail plugin: Make sure variable is initialized.
author
Florian Forster
<octo@collectd.org>
Thu, 18 Jun 2015 13:31:11 +0000
(15:31 +0200)
committer
Marc Fournier
<marc.fournier@camptocamp.com>
Thu, 14 Jan 2016 10:02:41 +0000
(11:02 +0100)
This was introduced by the merge
(
09c6a320f3cb36b5dbb2c2ce43858f33be7acf9b
).
src/tail.c
patch
|
blob
|
history
diff --git
a/src/tail.c
b/src/tail.c
index
72d97a3
..
181b752
100644
(file)
--- 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)
{