network plugin: Fix "Dead assignment" warning.
authorFlorian Forster <octo@collectd.org>
Thu, 18 Jun 2015 07:16:18 +0000 (09:16 +0200)
committerFlorian Forster <octo@collectd.org>
Thu, 18 Jun 2015 08:23:54 +0000 (10:23 +0200)
src/network.c

index 083571b..ae5ed09 100644 (file)
@@ -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);
        }