aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-01-16 18:16:41 +0100
committerGian Demarmels <gian@demarmels.org>2022-02-04 15:37:32 +0100
commit3510f953b02e3ba0f42e1539c8151e73dfe2898b (patch)
tree49a798c4dd602d748183bc05fa94149b78528b65 /src/lib
parent8d85c8b5b6c514ce093d856a2e4b931b4108ece5 (diff)
downloadexchange-3510f953b02e3ba0f42e1539c8151e73dfe2898b.tar.gz
exchange-3510f953b02e3ba0f42e1539c8151e73dfe2898b.tar.bz2
exchange-3510f953b02e3ba0f42e1539c8151e73dfe2898b.zip
-make picky gcc happy
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/exchange_api_withdraw.c18
1 files changed, 10 insertions, 8 deletions
diff --git a/src/lib/exchange_api_withdraw.c b/src/lib/exchange_api_withdraw.c
index 204c72359..e8eca88cc 100644
--- a/src/lib/exchange_api_withdraw.c
+++ b/src/lib/exchange_api_withdraw.c
@@ -206,14 +206,16 @@ withdraw_cs_stage_two_callback (void *cls,
wh);
break;
default:
- // the CSR request went wrong -> serve response to the callback
- struct TALER_EXCHANGE_WithdrawResponse wr = {
- .hr = csrr->hr
- };
- wh->cb (wh->cb_cls,
- &wr);
- TALER_EXCHANGE_withdraw_cancel (wh);
- break;
+ {
+ // the CSR request went wrong -> serve response to the callback
+ struct TALER_EXCHANGE_WithdrawResponse wr = {
+ .hr = csrr->hr
+ };
+ wh->cb (wh->cb_cls,
+ &wr);
+ TALER_EXCHANGE_withdraw_cancel (wh);
+ break;
+ }
}
}