commit ccfc69ed28b7c5efa685b0d5255534a28d1d6f5b
parent b314ea0bedef479eaf7bdfd4593ef337ec3fe74c
Author: Christian Grothoff <christian@grothoff.org>
Date: Wed, 4 Apr 2018 17:07:51 +0200
declare var at beginning of scope...
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/backenddb/plugin_merchantdb_postgres.c b/src/backenddb/plugin_merchantdb_postgres.c
@@ -2609,6 +2609,7 @@ process_deposits_for_refund_cb (void *cls,
{
const struct TALER_Amount *increment;
struct TALER_Amount left;
+ struct TALER_Amount remaining_refund;
/* How much of the coin is left after the existing refunds? */
if (GNUNET_SYSERR ==
@@ -2631,8 +2632,6 @@ process_deposits_for_refund_cb (void *cls,
continue;
}
- struct TALER_Amount remaining_refund;
-
/* How much of the refund is left? */
if (GNUNET_SYSERR ==
TALER_amount_subtract (&remaining_refund,