diff options
Diffstat (limited to 'src/backenddb')
-rw-r--r-- | src/backenddb/plugin_merchantdb_postgres.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/backenddb/plugin_merchantdb_postgres.c b/src/backenddb/plugin_merchantdb_postgres.c index 96a5de9d..7e5dd91e 100644 --- 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, |