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_credit.c | |
parent | 69e50079b4412624a78002853535a6e7a306cc29 (diff) | |
download | exchange-d923f29144a1fb0bdf647e597659f6699254e40a.tar.xz |
removing warnings
Diffstat (limited to 'src/testing/testing_api_cmd_bank_history_credit.c')
-rw-r--r-- | src/testing/testing_api_cmd_bank_history_credit.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/testing/testing_api_cmd_bank_history_credit.c b/src/testing/testing_api_cmd_bank_history_credit.c index aff50d830..0b71c7162 100644 --- a/src/testing/testing_api_cmd_bank_history_credit.c +++ b/src/testing/testing_api_cmd_bank_history_credit.c @@ -335,7 +335,6 @@ build_history (struct TALER_TESTING_Interpreter *is, * Check that the "/history/incoming" response matches the * CMD whose offset in the list of CMDs is @a off. * - * @param is the interpreter state. * @param h expected history (array) * @param total length of @a h * @param off the offset (of the CMD list) where the command @@ -344,8 +343,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, unsigned int total, unsigned int off, const struct TALER_BANK_CreditDetails *details) @@ -455,8 +453,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)) |