summaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd_mhd.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-11-01 14:34:34 +0100
committerChristian Grothoff <christian@grothoff.org>2019-11-01 14:34:50 +0100
commit40d9674856dd77a98053f0451d76791de146551f (patch)
tree22660007e53e6a6173551f506737b6cd7ff9ecfe /src/exchange/taler-exchange-httpd_mhd.c
parentea57a95ba3052bf0d2f98a0aa53e99d636be7ce2 (diff)
downloadexchange-40d9674856dd77a98053f0451d76791de146551f.tar.gz
exchange-40d9674856dd77a98053f0451d76791de146551f.tar.bz2
exchange-40d9674856dd77a98053f0451d76791de146551f.zip
fix warnings
Diffstat (limited to 'src/exchange/taler-exchange-httpd_mhd.c')
-rw-r--r--src/exchange/taler-exchange-httpd_mhd.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/exchange/taler-exchange-httpd_mhd.c b/src/exchange/taler-exchange-httpd_mhd.c
index dfea44adb..95e51c8ed 100644
--- a/src/exchange/taler-exchange-httpd_mhd.c
+++ b/src/exchange/taler-exchange-httpd_mhd.c
@@ -53,6 +53,9 @@ TEH_MHD_handler_static_response (struct TEH_RequestHandler *rh,
struct MHD_Response *response;
int ret;
+ (void) connection_cls;
+ (void) upload_data;
+ (void) upload_data_size;
if (0 == rh->data_size)
rh->data_size = strlen ((const char *) rh->data);
response = MHD_create_response_from_buffer (rh->data_size,
@@ -99,6 +102,9 @@ TEH_MHD_handler_agpl_redirect (struct TEH_RequestHandler *rh,
struct MHD_Response *response;
int ret;
+ (void) connection_cls;
+ (void) upload_data;
+ (void) upload_data_size;
response = MHD_create_response_from_buffer (strlen (agpl),
(void *) agpl,
MHD_RESPMEM_PERSISTENT);
@@ -147,6 +153,9 @@ TEH_MHD_handler_send_json_pack_error (struct TEH_RequestHandler *rh,
const char *upload_data,
size_t *upload_data_size)
{
+ (void) connection_cls;
+ (void) upload_data;
+ (void) upload_data_size;
return TEH_RESPONSE_reply_json_pack (connection,
rh->response_code,
"{s:s}",