From: Florian Forster Date: Thu, 18 Jun 2015 07:16:18 +0000 (+0200) Subject: curl_json plugin: Fix "Dead assignment" warning. X-Git-Tag: collectd-5.5.1~101^2~16 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=927bc89c5e6e06cdc972f54d42b3b93aea2c0707;p=collectd.git curl_json plugin: Fix "Dead assignment" warning. --- diff --git a/src/curl_json.c b/src/curl_json.c index 6dec89e5..ff07e76b 100644 --- a/src/curl_json.c +++ b/src/curl_json.c @@ -549,7 +549,6 @@ static int cj_config_add_key (cj_t *db, /* {{{ */ db->tree = cj_avl_create(); tree = db->tree; - name = key->path; ptr = key->path; if (*ptr == '/') ++ptr;