diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-08-22 22:47:41 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-08-22 22:47:41 +0200 |
commit | b14e18eb31c957276c3f74834495d1bfa5c9329a (patch) | |
tree | bbde2d22eb1069607dcce675a5c39a276663b06b /src/backend/taler-merchant-httpd.c | |
parent | 1a62744325edc68e106b806ede0ac418d880ca4f (diff) | |
download | merchant-b14e18eb31c957276c3f74834495d1bfa5c9329a.tar.gz merchant-b14e18eb31c957276c3f74834495d1bfa5c9329a.tar.bz2 merchant-b14e18eb31c957276c3f74834495d1bfa5c9329a.zip |
-fix misc clang compiler warnings
Diffstat (limited to 'src/backend/taler-merchant-httpd.c')
-rw-r--r-- | src/backend/taler-merchant-httpd.c | 9 |
1 files changed, 6 insertions, 3 deletions
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; |