summaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_get-orders-ID.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-08-22 22:47:41 +0200
committerChristian Grothoff <christian@grothoff.org>2022-08-22 22:47:41 +0200
commitb14e18eb31c957276c3f74834495d1bfa5c9329a (patch)
treebbde2d22eb1069607dcce675a5c39a276663b06b /src/backend/taler-merchant-httpd_get-orders-ID.c
parent1a62744325edc68e106b806ede0ac418d880ca4f (diff)
downloadmerchant-b14e18eb31c957276c3f74834495d1bfa5c9329a.tar.gz
merchant-b14e18eb31c957276c3f74834495d1bfa5c9329a.tar.bz2
merchant-b14e18eb31c957276c3f74834495d1bfa5c9329a.zip
-fix misc clang compiler warnings
Diffstat (limited to 'src/backend/taler-merchant-httpd_get-orders-ID.c')
-rw-r--r--src/backend/taler-merchant-httpd_get-orders-ID.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/backend/taler-merchant-httpd_get-orders-ID.c b/src/backend/taler-merchant-httpd_get-orders-ID.c
index 5d229fc2..c1db5ea9 100644
--- a/src/backend/taler-merchant-httpd_get-orders-ID.c
+++ b/src/backend/taler-merchant-httpd_get-orders-ID.c
@@ -758,6 +758,10 @@ process_refunds_cb (void *cls,
{
struct GetOrderData *god = cls;
+ (void) refund_serial;
+ (void) timestamp;
+ (void) exchange_url;
+ (void) rtransaction_id;
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Found refund of %s for coin %s with reason `%s' in database\n",
TALER_amount2s (refund_amount),
@@ -823,6 +827,7 @@ TMH_get_orders_ID (const struct TMH_RequestHandler *rh,
bool contract_available = false;
const char *merchant_base_url;
+ (void) rh;
if (NULL == god)
{
god = GNUNET_new (struct GetOrderData);