From: Florian Forster Date: Thu, 18 Jun 2015 07:16:18 +0000 (+0200) Subject: network plugin: Fix "Dead assignment" warning. X-Git-Tag: collectd-5.5.1~101^2~10 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=9a13aa06b221ba4b15e42a3555afb38fff5ab0bc;p=collectd.git network plugin: Fix "Dead assignment" warning. --- diff --git a/src/network.c b/src/network.c index 083571bc..ae5ed096 100644 --- a/src/network.c +++ b/src/network.c @@ -2538,10 +2538,6 @@ static int network_receive (void) /* {{{ */ receive_list_tail = private_list_tail; receive_list_length += private_list_length; - private_list_head = NULL; - private_list_tail = NULL; - private_list_length = 0; - pthread_cond_signal (&receive_list_cond); pthread_mutex_unlock (&receive_list_lock); }