From 7ba7a46f24cb7db3426ee0349f5dcd0178cf3c29 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sun, 19 Aug 2018 01:13:17 +0200 Subject: [PATCH] benchmark: remove odd macro --- src/benchmark/taler-exchange-benchmark.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/benchmark/taler-exchange-benchmark.c b/src/benchmark/taler-exchange-benchmark.c index ed923cd3b..828ac7c42 100644 --- a/src/benchmark/taler-exchange-benchmark.c +++ b/src/benchmark/taler-exchange-benchmark.c @@ -197,13 +197,6 @@ static char *remote_host; */ static char *remote_dir; -/** - * Convenience macros to allocate all the currency-dependant - * strings; note that the argument list of the macro is ignored. - * It is kept as a way to make the macro more auto-descriptive - * where it is called. - */ -#define ALLOCATE_AMOUNTS(...) \ /** * Decide which exchange account is going to be @@ -368,11 +361,6 @@ run (void *cls, GNUNET_asprintf (&AMOUNT_4, "%s:4", currency); GNUNET_asprintf (&AMOUNT_1, "%s:1", currency); - ALLOCATE_AMOUNTS - (AMOUNT_5, - AMOUNT_4, - AMOUNT_1); - GNUNET_assert (GNUNET_OK == TALER_amount_get_zero (currency, &total_reserve_amount)); total_reserve_amount.value = 5 * howmany_coins;