diff options
author | Christian Grothoff <christian@grothoff.org> | 2024-03-07 10:49:44 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2024-03-07 10:49:44 +0100 |
commit | 30f7464145726c68e3f104519b7ce11debf7fe64 (patch) | |
tree | efdf6f4316c5de3b24976200df70f489c8f54fe8 /src | |
parent | a2e6adcd69000994a579223d97867c4aee4f04f2 (diff) |
fix uninitialized 'in_shutdown' variable
Diffstat (limited to 'src')
-rw-r--r-- | src/bank-lib/fakebank_tbr_get_history.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bank-lib/fakebank_tbr_get_history.c b/src/bank-lib/fakebank_tbr_get_history.c index b7d447adc..e318a2af9 100644 --- a/src/bank-lib/fakebank_tbr_get_history.c +++ b/src/bank-lib/fakebank_tbr_get_history.c @@ -148,6 +148,7 @@ TALER_FAKEBANK_tbr_get_history ( if ( (NULL == t) || overflow) { + in_shutdown = h->in_shutdown; /* FIXME: these conditions are unclear to me. */ if (GNUNET_TIME_relative_is_zero (hc->ha.lp_timeout) && (0 < hc->ha.delta)) @@ -166,7 +167,7 @@ TALER_FAKEBANK_tbr_get_history ( } goto finish; } - if (h->in_shutdown) + if (in_shutdown) { acc_payto_uri = hc->acc->payto_uri; GNUNET_assert (0 == |