diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-11-19 10:57:27 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-11-19 10:57:27 +0100 |
commit | bdaaa0f6cb8f99168ed9916064a5e4145426480c (patch) | |
tree | bd8e37886cbc6356a00d5a0592d99f30f0b2f3c9 /src/testing/testing_api_cmd_oauth.c | |
parent | dff5510dd36059a567d1110da870cc79bd508f70 (diff) | |
download | exchange-bdaaa0f6cb8f99168ed9916064a5e4145426480c.tar.gz exchange-bdaaa0f6cb8f99168ed9916064a5e4145426480c.tar.bz2 exchange-bdaaa0f6cb8f99168ed9916064a5e4145426480c.zip |
-fix misc. compiler warnings
Diffstat (limited to 'src/testing/testing_api_cmd_oauth.c')
-rw-r--r-- | src/testing/testing_api_cmd_oauth.c | 11 |
1 files changed, 11 insertions, 0 deletions
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); |