From 40d9674856dd77a98053f0451d76791de146551f Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 1 Nov 2019 14:34:34 +0100 Subject: fix warnings --- src/exchange-tools/taler-exchange-dbinit.c | 3 +++ src/exchange-tools/taler-exchange-keycheck.c | 5 +++++ src/exchange-tools/taler-exchange-keyup.c | 3 +++ src/exchange-tools/taler-exchange-wire.c | 4 ++++ src/exchange-tools/taler-wire.c | 1 + 5 files changed, 16 insertions(+) (limited to 'src/exchange-tools') diff --git a/src/exchange-tools/taler-exchange-dbinit.c b/src/exchange-tools/taler-exchange-dbinit.c index afc1b837e..e9a1e3349 100644 --- a/src/exchange-tools/taler-exchange-dbinit.c +++ b/src/exchange-tools/taler-exchange-dbinit.c @@ -54,6 +54,9 @@ run (void *cls, { struct TALER_EXCHANGEDB_Plugin *plugin; + (void) cls; + (void) args; + (void) cfgfile; if (NULL == (plugin = TALER_EXCHANGEDB_plugin_load (cfg))) { diff --git a/src/exchange-tools/taler-exchange-keycheck.c b/src/exchange-tools/taler-exchange-keycheck.c index 2c2ebcf9f..42b1b511b 100644 --- a/src/exchange-tools/taler-exchange-keycheck.c +++ b/src/exchange-tools/taler-exchange-keycheck.c @@ -57,6 +57,7 @@ signkeys_iter (void *cls, const char *filename, const struct TALER_EXCHANGEDB_PrivateSigningKeyInformationP *ski) { + (void) cls; GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Iterating over key `%s' for start time %s\n", filename, @@ -135,6 +136,7 @@ denomkeys_iter (void *cls, { struct GNUNET_HashCode hc; + (void) cls; if (ntohl (dki->issue.properties.purpose.size) != sizeof (struct TALER_DenominationKeyValidityPS)) { @@ -235,6 +237,9 @@ run (void *cls, const char *cfgfile, const struct GNUNET_CONFIGURATION_Handle *cfg) { + (void) cls; + (void) args; + (void) cfgfile; kcfg = cfg; if (GNUNET_OK != GNUNET_CONFIGURATION_get_value_filename (kcfg, diff --git a/src/exchange-tools/taler-exchange-keyup.c b/src/exchange-tools/taler-exchange-keyup.c index 8e982d17e..d974ec46a 100644 --- a/src/exchange-tools/taler-exchange-keyup.c +++ b/src/exchange-tools/taler-exchange-keyup.c @@ -1201,6 +1201,9 @@ run (void *cls, struct GNUNET_TIME_Relative lookahead_sign; struct GNUNET_CRYPTO_EddsaPrivateKey *eddsa_priv; + (void) cls; + (void) args; + (void) cfgfile; kcfg = cfg; if (now.abs_value_us != now_tmp.abs_value_us) diff --git a/src/exchange-tools/taler-exchange-wire.c b/src/exchange-tools/taler-exchange-wire.c index 22920ed28..ae8a4a740 100644 --- a/src/exchange-tools/taler-exchange-wire.c +++ b/src/exchange-tools/taler-exchange-wire.c @@ -61,6 +61,7 @@ sign_account_data (void *cls, FILE *out; int ret; + (void) cls; if (GNUNET_NO == ai->credit_enabled) return; if (NULL == ai->wire_response_filename) @@ -137,6 +138,9 @@ run (void *cls, struct GNUNET_CRYPTO_EddsaPublicKey mpub; struct GNUNET_CRYPTO_EddsaPublicKey mpub_cfg; + (void) cls; + (void) args; + (void) cfgfile; if ( (NULL == masterkeyfile) && (GNUNET_OK != GNUNET_CONFIGURATION_get_value_filename (cfg, diff --git a/src/exchange-tools/taler-wire.c b/src/exchange-tools/taler-wire.c index 4d6e0fcd7..12963324a 100644 --- a/src/exchange-tools/taler-wire.c +++ b/src/exchange-tools/taler-wire.c @@ -116,6 +116,7 @@ history_cb (void *cls, { char *row_off_enc; + (void) cls; if (TALER_BANK_DIRECTION_NONE == dir) { fprintf (stdout, -- cgit v1.2.3