diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-06-02 10:01:09 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-06-02 10:01:09 +0200 |
commit | df9a1770de2dd8d61e85ea2b61864f283c49fb68 (patch) | |
tree | 40376e2c642576d271ef2869bbdd4a48db836e33 | |
parent | 7680ebcbe1de0c03f1082f5576d2d14ed9edaa40 (diff) |
remove useless check
-rw-r--r-- | src/exchange/taler-exchange-httpd_refresh.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/exchange/taler-exchange-httpd_refresh.c b/src/exchange/taler-exchange-httpd_refresh.c index 17e0c1b2d..e03be6373 100644 --- a/src/exchange/taler-exchange-httpd_refresh.c +++ b/src/exchange/taler-exchange-httpd_refresh.c @@ -697,7 +697,6 @@ TMH_REFRESH_handler_refresh_reveal (struct TMH_RequestHandler *rh, { struct GNUNET_HashCode session_hash; int res; - json_t *reveal_detail; json_t *root; json_t *transfer_privs; struct GNUNET_JSON_Specification spec[] = { @@ -734,14 +733,6 @@ TMH_REFRESH_handler_refresh_reveal (struct TMH_RequestHandler *rh, return TMH_RESPONSE_reply_arg_invalid (connection, "transfer_privs"); } - reveal_detail = json_array_get (transfer_privs, 0); - if (NULL == reveal_detail) - { - // FIXME: generate proper HTTP response! - GNUNET_JSON_parse_free (spec); - GNUNET_break_op (0); - return (GNUNET_SYSERR == res) ? MHD_NO : MHD_YES; - } res = handle_refresh_reveal_json (connection, &session_hash, transfer_privs); |