diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-10-29 18:04:04 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-10-29 20:57:18 +0100 |
commit | 2696688aa31bd058ebff6610660d7e6d607c6e50 (patch) | |
tree | 41c0b34d966fe0768abc92007e6b5205a0644bc2 /src/exchange/taler-exchange-httpd_keystate.c | |
parent | 36efe024f55c3373344170f077b984f678aa4269 (diff) | |
download | exchange-2696688aa31bd058ebff6610660d7e6d607c6e50.tar.gz exchange-2696688aa31bd058ebff6610660d7e6d607c6e50.tar.bz2 exchange-2696688aa31bd058ebff6610660d7e6d607c6e50.zip |
fix compiler warnings
Diffstat (limited to 'src/exchange/taler-exchange-httpd_keystate.c')
-rw-r--r-- | src/exchange/taler-exchange-httpd_keystate.c | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/exchange/taler-exchange-httpd_keystate.c b/src/exchange/taler-exchange-httpd_keystate.c index 4eb5af5da..f9cda8a5f 100644 --- a/src/exchange/taler-exchange-httpd_keystate.c +++ b/src/exchange/taler-exchange-httpd_keystate.c @@ -423,6 +423,8 @@ free_denom_key (void *cls, { struct TALER_EXCHANGEDB_DenominationKeyIssueInformation *dki = value; + (void) cls; + (void) key; if (NULL != dki->denom_priv.rsa_private_key) GNUNET_CRYPTO_rsa_private_key_free (dki->denom_priv.rsa_private_key); GNUNET_CRYPTO_rsa_public_key_free (dki->denom_pub.rsa_public_key); @@ -698,7 +700,7 @@ TALER_EXCHANGE_conf_duration_provide () * @param cls closure with the `struct AddRevocationContext *` * @param connection NULL * @param session database session to use - * @param[out] mhd_ret NULL + * @param[out] mhd_ret not used * @return transaction status */ static enum GNUNET_DB_QueryStatus @@ -712,6 +714,8 @@ add_revocations_transaction (void *cls, struct TALER_MasterSignatureP master_sig; uint64_t rowid; + (void) connection; + (void) mhd_ret; qs = TEH_plugin->get_denomination_revocation (TEH_plugin->cls, session, &arc->dki->issue.properties. @@ -736,7 +740,7 @@ add_revocations_transaction (void *cls, * @param cls closure with the `const struct TALER_EXCHANGEDB_DenominationKeyIssueInformation *` * @param connection NULL * @param session database session to use - * @param[out] mhd_ret NULL + * @param[out] mhd_ret not used * @return transaction status */ static enum GNUNET_DB_QueryStatus @@ -749,6 +753,8 @@ add_denomination_transaction (void *cls, enum GNUNET_DB_QueryStatus qs; struct TALER_EXCHANGEDB_DenominationKeyInformationP issue_exists; + (void) connection; + (void) mhd_ret; qs = TEH_plugin->get_denomination_info (TEH_plugin->cls, session, &dki->issue.properties.denom_hash, @@ -1314,6 +1320,7 @@ add_auditor_entry (void *cls, struct AuditorEntry *ae = value; json_t *ao; + (void) key; ao = json_pack ("{s:o, s:s, s:o}", "denomination_keys", ae->ar, "auditor_url", ae->auditor_url, @@ -2310,6 +2317,9 @@ TEH_KS_handler_keys (struct TEH_RequestHandler *rh, struct GNUNET_TIME_Absolute now; const struct KeysResponseData *krd; + (void) connection_cls; + (void) upload_data; + (void) upload_data_size; have_cherrypick = MHD_lookup_connection_value (connection, MHD_GET_ARGUMENT_KIND, "last_issue_date"); |