summaryrefslogtreecommitdiff
path: root/src/benchmark
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2018-08-19 01:13:17 +0200
committerFlorian Dold <florian.dold@gmail.com>2018-08-19 01:13:17 +0200
commit7ba7a46f24cb7db3426ee0349f5dcd0178cf3c29 (patch)
treeef4bd15e3fb04d125c3fde09df593615748039db /src/benchmark
parent96e047b186245ab8f0883bb0e0fe9dfaff3ef407 (diff)
downloadexchange-7ba7a46f24cb7db3426ee0349f5dcd0178cf3c29.tar.gz
exchange-7ba7a46f24cb7db3426ee0349f5dcd0178cf3c29.tar.bz2
exchange-7ba7a46f24cb7db3426ee0349f5dcd0178cf3c29.zip
benchmark: remove odd macro
Diffstat (limited to 'src/benchmark')
-rw-r--r--src/benchmark/taler-exchange-benchmark.c12
1 files changed, 0 insertions, 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;