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/exchange-tools/taler-auditor-offline.c | 5 +++++ src/exchange-tools/taler-exchange-offline.c | 4 ++++ 2 files changed, 9 insertions(+) (limited to 'src/exchange-tools') diff --git a/src/exchange-tools/taler-auditor-offline.c b/src/exchange-tools/taler-auditor-offline.c index 74e17efc9..5ff713a4e 100644 --- a/src/exchange-tools/taler-auditor-offline.c +++ b/src/exchange-tools/taler-auditor-offline.c @@ -547,6 +547,7 @@ do_upload (char *const *args) { char *exchange_url; + (void) args; if (GNUNET_YES == GNUNET_is_zero (&auditor_pub)) { /* private key not available, try configuration for public key */ @@ -657,6 +658,8 @@ keys_cb ( { char *const *args = cls; + (void) keys; + (void) compat; switch (hr->http_status) { case MHD_HTTP_OK: @@ -1375,6 +1378,8 @@ run (void *cls, const char *cfgfile, const struct GNUNET_CONFIGURATION_Handle *cfg) { + (void) cls; + (void) cfgfile; kcfg = cfg; if (GNUNET_OK != TALER_config_get_currency (kcfg, diff --git a/src/exchange-tools/taler-exchange-offline.c b/src/exchange-tools/taler-exchange-offline.c index e6ef0fc2c..117e6284e 100644 --- a/src/exchange-tools/taler-exchange-offline.c +++ b/src/exchange-tools/taler-exchange-offline.c @@ -1759,6 +1759,7 @@ trigger_upload (const char *exchange_url) static void do_upload (char *const *args) { + (void) args; if (NULL != in) { GNUNET_log (GNUNET_ERROR_TYPE_ERROR, @@ -2264,6 +2265,7 @@ download_cb (void *cls, { char *const *args = cls; + (void) keys; mgkh = NULL; switch (hr->http_status) { @@ -3443,6 +3445,8 @@ run (void *cls, const char *cfgfile, const struct GNUNET_CONFIGURATION_Handle *cfg) { + (void) cls; + (void) cfgfile; kcfg = cfg; if (GNUNET_OK != TALER_config_get_currency (kcfg, -- cgit v1.2.3