From bdaaa0f6cb8f99168ed9916064a5e4145426480c Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 19 Nov 2021 10:57:27 +0100 Subject: -fix misc. compiler warnings --- src/testing/testing_api_cmd_oauth.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/testing/testing_api_cmd_oauth.c') diff --git a/src/testing/testing_api_cmd_oauth.c b/src/testing/testing_api_cmd_oauth.c index 64cb6c031..9c2fef8e4 100644 --- a/src/testing/testing_api_cmd_oauth.c +++ b/src/testing/testing_api_cmd_oauth.c @@ -92,6 +92,11 @@ handle_post (void *cls, { struct RequestCtx *rc = cls; + (void) kind; + (void) filename; + (void) content_type; + (void) transfer_encoding; + (void) off; if (0 == strcmp (key, "code")) append (&rc->code, @@ -169,6 +174,8 @@ handler_cb (void *cls, unsigned int hc; json_t *body; + (void) cls; + (void) version; if (0 == strcasecmp (method, MHD_HTTP_METHOD_GET)) { @@ -292,6 +299,9 @@ cleanup (void *cls, { struct RequestCtx *rc = *con_cls; + (void) cls; + (void) connection; + (void) toe; if (NULL == rc) return; GNUNET_free (rc->code); @@ -340,6 +350,7 @@ oauth_cleanup (void *cls, { struct OAuthState *oas = cls; + (void) cmd; if (NULL != oas->mhd) { MHD_stop_daemon (oas->mhd); -- cgit v1.2.3