From 30f7464145726c68e3f104519b7ce11debf7fe64 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 7 Mar 2024 10:49:44 +0100 Subject: fix uninitialized 'in_shutdown' variable --- src/bank-lib/fakebank_tbr_get_history.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 == -- cgit v1.2.3