curl_json plugin: Remove unused field from cj_t.
authorFlorian Forster <octo@collectd.org>
Mon, 15 May 2017 12:57:46 +0000 (14:57 +0200)
committerFlorian Forster <octo@collectd.org>
Tue, 16 May 2017 07:07:04 +0000 (09:07 +0200)
src/curl_json.c

index 4d8677a..464c6ae 100644 (file)
@@ -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 */