summaryrefslogtreecommitdiff
path: root/src/exchange
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-08-19 16:30:32 +0200
committerChristian Grothoff <christian@grothoff.org>2021-08-19 16:30:32 +0200
commitaa68d1d04d004c16d1a4f54f46afe312c93ad550 (patch)
tree495df6930751fc655dca3f8bd273c6c52bcbd05c /src/exchange
parentd8c9f2a03782da04f5c8f5db9379979abf65b4cf (diff)
downloadexchange-aa68d1d04d004c16d1a4f54f46afe312c93ad550.tar.gz
exchange-aa68d1d04d004c16d1a4f54f46afe312c93ad550.tar.bz2
exchange-aa68d1d04d004c16d1a4f54f46afe312c93ad550.zip
-minor cleanup
Diffstat (limited to 'src/exchange')
-rw-r--r--src/exchange/taler-exchange-httpd.c2
-rw-r--r--src/exchange/taler-exchange-httpd_keys.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/exchange/taler-exchange-httpd.c b/src/exchange/taler-exchange-httpd.c
index ae804037..4a206b13 100644
--- a/src/exchange/taler-exchange-httpd.c
+++ b/src/exchange/taler-exchange-httpd.c
@@ -299,6 +299,7 @@ handle_mhd_completion_callback (void *cls,
struct ExchangeHttpRequestClosure *ecls = *con_cls;
struct GNUNET_AsyncScopeSave old_scope;
+ (void) cls;
if (NULL == ecls)
return;
GNUNET_async_scope_enter (&ecls->async_scope_id,
@@ -325,7 +326,6 @@ handle_mhd_completion_callback (void *cls,
toe);
#endif
}
- (void) cls;
TALER_MHD_parse_post_cleanup_callback (ecls->opaque_post_parsing_context);
/* Sanity-check that we didn't leave any transactions hanging */
diff --git a/src/exchange/taler-exchange-httpd_keys.c b/src/exchange/taler-exchange-httpd_keys.c
index 4af28b14..0cc8c831 100644
--- a/src/exchange/taler-exchange-httpd_keys.c
+++ b/src/exchange/taler-exchange-httpd_keys.c
@@ -1,6 +1,6 @@
/*
This file is part of TALER
- Copyright (C) 2020 Taler Systems SA
+ Copyright (C) 2020, 2021 Taler Systems SA
TALER is free software; you can redistribute it and/or modify it under the
terms of the GNU Affero General Public License as published by the Free Software
@@ -1715,6 +1715,7 @@ build_key_state (struct HelperState *hs,
ksh->signkey_map = GNUNET_CONTAINER_multipeermap_create (32,
GNUNET_NO /* MUST be NO! */);
ksh->auditors = json_array ();
+ GNUNET_assert (NULL != ksh->auditors);
/* NOTE: fetches master-signed signkeys, but ALSO those that were revoked! */
qs = TEH_plugin->iterate_denominations (TEH_plugin->cls,
&denomination_info_cb,