curl_json 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 07:25:32 +0000 (09:25 +0200)
src/curl_json.c

index 6dec89e..ff07e76 100644 (file)
@@ -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;