From: Florian Forster Date: Wed, 17 Jun 2015 09:41:55 +0000 (+0200) Subject: network plugin: Avoid "status may be used uninitialized" warning. X-Git-Tag: collectd-5.5.1~105^2~3 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=dd324a1592259913e6e92d3b54e6fa2b0c5f38f7;p=collectd.git network plugin: Avoid "status may be used uninitialized" warning. --- diff --git a/src/network.c b/src/network.c index 04dffe8b..083571bc 100644 --- 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;