aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb/exchangedb_accounts.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-12-17 15:46:52 +0100
committerChristian Grothoff <christian@grothoff.org>2020-12-17 15:46:52 +0100
commitf930a8c9d07d5331feace2850e181987d7d1a305 (patch)
treee8678e7a9e7b5fe18d2dad3f7c884738759a2a2f /src/exchangedb/exchangedb_accounts.c
parentb74612fc3362e64dcfb7eacad3602025ccfcf5ea (diff)
simplify further
Diffstat (limited to 'src/exchangedb/exchangedb_accounts.c')
-rw-r--r--src/exchangedb/exchangedb_accounts.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/exchangedb/exchangedb_accounts.c b/src/exchangedb/exchangedb_accounts.c
index 7e3edf1c8..922ab6dab 100644
--- a/src/exchangedb/exchangedb_accounts.c
+++ b/src/exchangedb/exchangedb_accounts.c
@@ -76,7 +76,6 @@ check_for_account (void *cls,
struct FindAccountContext *ctx = cls;
char *method;
char *payto_uri;
- char *wire_response_filename;
if (0 != strncasecmp (section,
"exchange-account-",
@@ -104,18 +103,10 @@ check_for_account (void *cls,
GNUNET_free (payto_uri);
return;
}
- if (GNUNET_OK !=
- GNUNET_CONFIGURATION_get_value_filename (ctx->cfg,
- section,
- "WIRE_RESPONSE",
- &wire_response_filename))
- wire_response_filename = NULL;
{
struct TALER_EXCHANGEDB_AccountInfo ai = {
.section_name = section,
.method = method,
- .payto_uri = payto_uri,
- .wire_response_filename = wire_response_filename,
.debit_enabled = (GNUNET_YES ==
GNUNET_CONFIGURATION_get_value_yesno (
ctx->cfg,
@@ -130,9 +121,7 @@ check_for_account (void *cls,
ctx->cb (ctx->cb_cls,
&ai);
}
- GNUNET_free (payto_uri);
GNUNET_free (method);
- GNUNET_free (wire_response_filename);
}