summaryrefslogtreecommitdiff
path: root/src/exchange
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-01-18 19:16:33 +0100
committerChristian Grothoff <christian@grothoff.org>2020-01-18 19:16:44 +0100
commit8dbc19758b87c41ada780c20edac0c500ab2daa1 (patch)
tree88f24a9f5d304a1b3a5c9ab6509395bb38af3cfb /src/exchange
parentd53eca894011f31b698a13cf41d31e2d19c7e427 (diff)
downloadexchange-8dbc19758b87c41ada780c20edac0c500ab2daa1.tar.gz
exchange-8dbc19758b87c41ada780c20edac0c500ab2daa1.tar.bz2
exchange-8dbc19758b87c41ada780c20edac0c500ab2daa1.zip
fix compiler warnings
Diffstat (limited to 'src/exchange')
-rw-r--r--src/exchange/taler-exchange-aggregator.c2
-rw-r--r--src/exchange/taler-exchange-httpd_refresh_reveal.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/exchange/taler-exchange-aggregator.c b/src/exchange/taler-exchange-aggregator.c
index bfeb78373..0c6b6a9d7 100644
--- a/src/exchange/taler-exchange-aggregator.c
+++ b/src/exchange/taler-exchange-aggregator.c
@@ -1140,7 +1140,7 @@ expired_reserve_cb (void *cls,
left,
closing_fee);
else
- ret = GNUNET_DB_STATUS_HARD_ERROR;
+ qs = GNUNET_DB_STATUS_HARD_ERROR;
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"Closing reserve %s over %s (%d, %d)\n",
TALER_B2S (reserve_pub),
diff --git a/src/exchange/taler-exchange-httpd_refresh_reveal.c b/src/exchange/taler-exchange-httpd_refresh_reveal.c
index 56e29adfb..7524c604a 100644
--- a/src/exchange/taler-exchange-httpd_refresh_reveal.c
+++ b/src/exchange/taler-exchange-httpd_refresh_reveal.c
@@ -647,7 +647,6 @@ resolve_refresh_reveal_denominations (struct TEH_KS_StateHandle *key_state,
GNUNET_JSON_spec_fixed_auto (NULL, &link_sigs[i]),
GNUNET_JSON_spec_end ()
};
- int res;
res = TALER_MHD_parse_json_array (connection,
link_sigs_json,