From: Florian Forster Date: Thu, 18 Jun 2015 07:16:18 +0000 (+0200) Subject: ntpd plugin: Fix "Dead assignment" warning. X-Git-Tag: collectd-5.5.1~101^2~9 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=cdd796ef18bc6fd4138f73d8053928f1a3ab6c3d;p=collectd.git ntpd plugin: Fix "Dead assignment" warning. --- diff --git a/src/ntpd.c b/src/ntpd.c index bbc455f6..540eb788 100644 --- a/src/ntpd.c +++ b/src/ntpd.c @@ -664,7 +664,6 @@ static int ntpd_receive_response (int *res_items, int *res_size, (items_num + pkt_item_num) * res_item_size); if (items == NULL) { - items = *res_data; ERROR ("ntpd plugin: realloc failed."); continue; }