projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0c52a2
)
network plugin: Avoid "status may be used uninitialized" warning.
author
Florian Forster
<octo@collectd.org>
Wed, 17 Jun 2015 09:41:55 +0000
(11:41 +0200)
committer
Florian Forster
<octo@collectd.org>
Wed, 17 Jun 2015 09:41:55 +0000
(11:41 +0200)
src/network.c
patch
|
blob
|
history
diff --git
a/src/network.c
b/src/network.c
index
04dffe8
..
083571b
100644
(file)
--- a/
src/network.c
+++ b/
src/network.c
@@
-2415,7
+2415,7
@@
static int network_receive (void) /* {{{ */
int buffer_len;
int i;
- int status;
+ int status
= 0
;
receive_list_entry_t *private_list_head;
receive_list_entry_t *private_list_tail;