From 9ed99558e21ac6b81f112670b982262d2349e5a5 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 22 Aug 2022 22:45:41 +0200 Subject: -fix clang compiler warnings --- src/kyclogic/taler-exchange-kyc-tester.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'src/kyclogic/taler-exchange-kyc-tester.c') diff --git a/src/kyclogic/taler-exchange-kyc-tester.c b/src/kyclogic/taler-exchange-kyc-tester.c index 306493e2c..64b140877 100644 --- a/src/kyclogic/taler-exchange-kyc-tester.c +++ b/src/kyclogic/taler-exchange-kyc-tester.c @@ -454,8 +454,15 @@ webhook_finished_cb ( { struct KycWebhookContext *kwh = cls; + (void) expiration; + (void) provider_section; kwh->wh = NULL; - // FIXME: check arguments for validity? + GNUNET_break (0 == GNUNET_memcmp (account_id, + &cmd_line_h_payto)); + GNUNET_break (0 == strcmp (provider_user_id, + cmd_provider_user_id)); + GNUNET_break (0 == strcmp (provider_legitimization_id, + cmd_provider_legitimization_id)); switch (status) { case TALER_KYCLOGIC_STATUS_SUCCESS: @@ -524,6 +531,7 @@ kyc_provider_account_lookup ( struct TALER_PaytoHashP *h_payto, uint64_t *legi_row) { + (void) cls; GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Simulated account lookup using `%s/%s'\n", provider_section, @@ -695,6 +703,7 @@ proof_cb ( { struct ProofRequestState *rs = cls; + (void) expiration; GNUNET_log (GNUNET_ERROR_TYPE_MESSAGE, "KYC legitimization %s completed with status %d (%u) for %s\n", provider_legitimization_id, @@ -1305,6 +1314,7 @@ initiate_cb ( const char *provider_legitimization_id, const char *error_msg_hint) { + (void) cls; ih = NULL; if (TALER_EC_NONE != ec) { -- cgit v1.2.3