network plugin: Avoid "status may be used uninitialized" warning.
[collectd.git] / src / network.c
index 04dffe8..083571b 100644 (file)
@@ -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;