benchmark: remove odd macro

This commit is contained in:
Florian Dold 2018-08-19 01:13:17 +02:00
parent 96e047b186
commit 7ba7a46f24
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -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;