From cdd796ef18bc6fd4138f73d8053928f1a3ab6c3d Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Thu, 18 Jun 2015 09:16:18 +0200 Subject: [PATCH] ntpd plugin: Fix "Dead assignment" warning. --- src/ntpd.c | 1 - 1 file changed, 1 deletion(-) 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; } -- 2.11.0