From b14e18eb31c957276c3f74834495d1bfa5c9329a Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 22 Aug 2022 22:47:41 +0200 Subject: -fix misc clang compiler warnings --- src/backend/taler-merchant-httpd.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/backend/taler-merchant-httpd.c') diff --git a/src/backend/taler-merchant-httpd.c b/src/backend/taler-merchant-httpd.c index d95dafdc..d55d5a07 100644 --- a/src/backend/taler-merchant-httpd.c +++ b/src/backend/taler-merchant-httpd.c @@ -333,6 +333,7 @@ handle_mhd_completion_callback (void *cls, { struct TMH_HandlerContext *hc = *con_cls; + (void) cls; if (NULL == hc) return; GNUNET_SCHEDULER_begin_async_scope (&hc->async_scope_id); @@ -440,6 +441,8 @@ handle_server_options (const struct TMH_RequestHandler *rh, struct MHD_Connection *connection, struct TMH_HandlerContext *hc) { + (void) rh; + (void) hc; return TALER_MHD_reply_cors_preflight (connection); } @@ -664,7 +667,7 @@ url_handler (void *cls, .handler = &TMH_private_get_instances_default_ID_kyc, }, { - NULL + .url_prefix = NULL } }; @@ -918,7 +921,7 @@ url_handler (void *cls, .handler = &TMH_private_get_transfers }, { - NULL + .url_prefix = NULL } }; static struct TMH_RequestHandler public_handlers[] = { @@ -1049,7 +1052,7 @@ url_handler (void *cls, .handler = &handle_server_options }, { - NULL + .url_prefix = NULL } }; struct TMH_HandlerContext *hc = *con_cls; -- cgit v1.2.3