diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-03-27 14:05:59 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-03-27 14:05:59 +0100 |
commit | d923f29144a1fb0bdf647e597659f6699254e40a (patch) | |
tree | 003f5629e2fe6fea2c4462ad546f39a670f64e3e /src/testing/testing_api_cmd_bank_history_debit.c | |
parent | 69e50079b4412624a78002853535a6e7a306cc29 (diff) | |
download | exchange-d923f29144a1fb0bdf647e597659f6699254e40a.tar.xz |
removing warnings
Diffstat (limited to 'src/testing/testing_api_cmd_bank_history_debit.c')
-rw-r--r-- | src/testing/testing_api_cmd_bank_history_debit.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/testing/testing_api_cmd_bank_history_debit.c b/src/testing/testing_api_cmd_bank_history_debit.c index 38d7ab95e..ebabf8d94 100644 --- a/src/testing/testing_api_cmd_bank_history_debit.c +++ b/src/testing/testing_api_cmd_bank_history_debit.c @@ -343,7 +343,6 @@ build_history (struct TALER_TESTING_Interpreter *is, * Check that the "/history/outgoing" response matches the * CMD whose offset in the list of CMDs is @a off. * - * @param is the interpreter state. * @param h expected history * @param total number of entries in @a h * @param off the offset (of the CMD list) where the command @@ -352,8 +351,7 @@ build_history (struct TALER_TESTING_Interpreter *is, * @return #GNUNET_OK if the transaction is what we expect. */ static int -check_result (struct TALER_TESTING_Interpreter *is, - struct History *h, +check_result (struct History *h, uint64_t total, unsigned int off, const struct TALER_BANK_DebitDetails *details) @@ -457,8 +455,7 @@ history_cb (void *cls, } /* check current element */ - if (GNUNET_OK != check_result (is, - hs->h, + if (GNUNET_OK != check_result (hs->h, hs->total, hs->results_obtained, details)) |