[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-merchant] branch master updated: move ‘deposit_sum’ decl upscope
From: |
gnunet |
Subject: |
[taler-merchant] branch master updated: move ‘deposit_sum’ decl upscope |
Date: |
Wed, 26 May 2021 13:23:01 +0200 |
This is an automated email from the git hooks/post-receive script.
ttn pushed a commit to branch master
in repository merchant.
The following commit(s) were added to refs/heads/master by this push:
new de7a1c7e move ‘deposit_sum’ decl upscope
de7a1c7e is described below
commit de7a1c7e5bf46b6388ff6708e963c7bcc39a0db2
Author: Thien-Thi Nguyen <ttn@gnuvola.org>
AuthorDate: Wed May 26 07:21:34 2021 -0400
move ‘deposit_sum’ decl upscope
This makes it available to all uses in the function,
not just in the ‘else’ clause (where it was before).
---
src/lib/merchant_api_post_transfers.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lib/merchant_api_post_transfers.c
b/src/lib/merchant_api_post_transfers.c
index 2e41ebb2..a9eaf288 100644
--- a/src/lib/merchant_api_post_transfers.c
+++ b/src/lib/merchant_api_post_transfers.c
@@ -84,6 +84,7 @@ handle_post_transfers_finished (void *cls,
{
struct TALER_MERCHANT_PostTransfersHandle *pth = cls;
const json_t *json = response;
+ json_t *deposit_sum = NULL;
struct TALER_MERCHANT_HttpResponse hr = {
.http_status = (unsigned int) response_code,
.reply = json
@@ -127,7 +128,6 @@ handle_post_transfers_finished (void *cls,
{
size_t deposit_sums_length;
struct TALER_MERCHANT_TrackTransferDetail *details;
- json_t *deposit_sum;
unsigned int i;
bool ok;
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-merchant] branch master updated: move ‘deposit_sum’ decl upscope,
gnunet <=