properly initialize wtid in test

This commit is contained in:
Florian Dold 2020-01-13 23:51:01 +01:00
parent d3557e5383
commit 87aa8b54cc
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -63,6 +63,7 @@ run (void *cls,
struct TALER_TESTING_Interpreter *is) struct TALER_TESTING_Interpreter *is)
{ {
struct TALER_WireTransferIdentifierRawP wtid; struct TALER_WireTransferIdentifierRawP wtid;
memset (&wtid, 42, sizeof (wtid));
struct TALER_TESTING_Command commands[] = { struct TALER_TESTING_Command commands[] = {
TALER_TESTING_cmd_bank_credits ("history-0", TALER_TESTING_cmd_bank_credits ("history-0",
bc.exchange_account_url, bc.exchange_account_url,
@ -104,7 +105,6 @@ run (void *cls,
TALER_TESTING_cmd_end () TALER_TESTING_cmd_end ()
}; };
memset (&wtid, 42, sizeof (wtid));
GNUNET_log (GNUNET_ERROR_TYPE_INFO, GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"Bank serves at `%s'\n", "Bank serves at `%s'\n",
bc.bank_url); bc.bank_url);