From: Florian Forster Date: Mon, 15 May 2017 12:57:46 +0000 (+0200) Subject: curl_json plugin: Remove unused field from cj_t. X-Git-Tag: collectd-5.8.0~184 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=de1b8d7a0a25aab2e0a321493ea55769f251f6e6;p=collectd.git curl_json plugin: Remove unused field from cj_t. --- diff --git a/src/curl_json.c b/src/curl_json.c index 4d8677ac..464c6aef 100644 --- a/src/curl_json.c +++ b/src/curl_json.c @@ -86,7 +86,6 @@ struct cj_s /* {{{ */ yajl_handle yajl; c_avl_tree_t *tree; - cj_key_t *key; int depth; struct { union { @@ -923,7 +922,6 @@ static int cj_read(user_data_t *ud) /* {{{ */ db->depth = 0; memset(&db->state, 0, sizeof(db->state)); db->state[db->depth].tree = db->tree; - db->key = NULL; return cj_perform(db); } /* }}} int cj_read */