summaryrefslogtreecommitdiff
path: root/src/exchange
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-08-22 00:08:28 +0200
committerChristian Grothoff <christian@grothoff.org>2022-08-22 00:08:28 +0200
commita199ba7fe61d1ea0aa7f9dcd4083ae2e52546c40 (patch)
treef2b9992c964d3979a95fd31223445bff4b65730e /src/exchange
parenta5b9fce18310364052f0455f971e139297bfa507 (diff)
downloadexchange-a199ba7fe61d1ea0aa7f9dcd4083ae2e52546c40.tar.gz
exchange-a199ba7fe61d1ea0aa7f9dcd4083ae2e52546c40.tar.bz2
exchange-a199ba7fe61d1ea0aa7f9dcd4083ae2e52546c40.zip
-fix some clang warnings
Diffstat (limited to 'src/exchange')
-rw-r--r--src/exchange/taler-exchange-httpd_batch-withdraw.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/exchange/taler-exchange-httpd_batch-withdraw.c b/src/exchange/taler-exchange-httpd_batch-withdraw.c
index a0a13d931..cf2382042 100644
--- a/src/exchange/taler-exchange-httpd_batch-withdraw.c
+++ b/src/exchange/taler-exchange-httpd_batch-withdraw.c
@@ -173,7 +173,6 @@ batch_withdraw_transaction (void *cls,
MHD_RESULT *mhd_ret)
{
struct BatchWithdrawContext *wc = cls;
- struct GNUNET_TIME_Timestamp now;
uint64_t ruuid;
enum GNUNET_DB_QueryStatus qs;
bool balance_ok = false;
@@ -213,7 +212,7 @@ batch_withdraw_transaction (void *cls,
}
wc->kyc.ok = true;
qs = TEH_plugin->do_batch_withdraw (TEH_plugin->cls,
- now,
+ wc->now,
wc->reserve_pub,
&wc->batch_total,
&found,
@@ -262,7 +261,7 @@ batch_withdraw_transaction (void *cls,
qs = TEH_plugin->do_batch_withdraw_insert (TEH_plugin->cls,
nonce,
&pc->collectable,
- now,
+ wc->now,
ruuid,
&denom_unknown,
&conflict,