summaryrefslogtreecommitdiff
path: root/src/bank-lib/fakebank.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-06-03 00:25:11 +0200
committerChristian Grothoff <christian@grothoff.org>2019-06-03 00:25:11 +0200
commitf7255931558bf788073af15b7e433680a10f218c (patch)
tree6e68d095eb0b2ca9a0660f594cac75ded0231d54 /src/bank-lib/fakebank.c
parentf2ba3508b31b2bfc5a3eb2db56600107fde6849e (diff)
downloadexchange-f7255931558bf788073af15b7e433680a10f218c.tar.gz
exchange-f7255931558bf788073af15b7e433680a10f218c.tar.bz2
exchange-f7255931558bf788073af15b7e433680a10f218c.zip
eliminate useless global variable TFH_handle_history_range_step
Diffstat (limited to 'src/bank-lib/fakebank.c')
-rw-r--r--src/bank-lib/fakebank.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bank-lib/fakebank.c b/src/bank-lib/fakebank.c
index 71dd8bace..b6aee7f41 100644
--- a/src/bank-lib/fakebank.c
+++ b/src/bank-lib/fakebank.c
@@ -755,7 +755,6 @@ handle_history_range (struct TALER_FAKEBANK_Handle *h,
hrd.end.abs_value_us = end_stamp * 1000LL * 1000LL;
ha.range = &hrd;
- pos = NULL;
/* hunt for 'pos' in the Transaction(s) LL. */
for (pos = h->transactions_head;
NULL != pos;
@@ -768,7 +767,7 @@ handle_history_range (struct TALER_FAKEBANK_Handle *h,
pos,
&ha,
&TFH_handle_history_range_skip,
- TFH_handle_history_range_step,
+ &TFH_handle_history_range_skip,
&TFH_handle_history_range_advance);
}