fix compiler warnings

This commit is contained in:
Florian Dold 2018-04-04 00:13:17 +02:00
parent b48013bd56
commit df8ff68ed8
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B
2 changed files with 3 additions and 2 deletions

View File

@ -121,7 +121,8 @@ test_cancelled (struct TALER_TESTING_Interpreter *is,
const struct TALER_TESTING_Command *c = &is->commands[i]; const struct TALER_TESTING_Command *c = &is->commands[i];
#warning "Errors reported here are NOT fatal" /* XXX: Errors reported here are NOT fatal */
/* Rejected wire transfers have hold a reference to a /* Rejected wire transfers have hold a reference to a
* reject command to mark them as rejected. So errors * reject command to mark them as rejected. So errors
* about "reject traits" not found are NOT fatal here */ * about "reject traits" not found are NOT fatal here */

View File

@ -127,7 +127,7 @@ reject_run (void *cls,
(GNUNET_OK == TALER_TESTING_GET_TRAIT_ROW_ID (GNUNET_OK == TALER_TESTING_GET_TRAIT_ROW_ID
(deposit_cmd, &row_id)); (deposit_cmd, &row_id));
TALER_LOG_INFO ("Account %llu rejects deposit\n", TALER_LOG_INFO ("Account %llu rejects deposit\n",
*credit_account); (unsigned long long) *credit_account);
rs->rh = TALER_BANK_reject (is->ctx, rs->rh = TALER_BANK_reject (is->ctx,
rs->bank_url, rs->bank_url,
&AUTHS[*credit_account -1], &AUTHS[*credit_account -1],