aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-11-01 14:34:34 +0100
committerChristian Grothoff <christian@grothoff.org>2019-11-01 14:34:50 +0100
commit40d9674856dd77a98053f0451d76791de146551f (patch)
tree22660007e53e6a6173551f506737b6cd7ff9ecfe
parentea57a95ba3052bf0d2f98a0aa53e99d636be7ce2 (diff)
downloadexchange-40d9674856dd77a98053f0451d76791de146551f.tar.gz
exchange-40d9674856dd77a98053f0451d76791de146551f.zip
fix warnings
-rw-r--r--src/auditordb/plugin_auditordb_postgres.c1
-rw-r--r--src/exchange-tools/taler-exchange-dbinit.c3
-rw-r--r--src/exchange-tools/taler-exchange-keycheck.c5
-rw-r--r--src/exchange-tools/taler-exchange-keyup.c3
-rw-r--r--src/exchange-tools/taler-exchange-wire.c4
-rw-r--r--src/exchange-tools/taler-wire.c1
-rw-r--r--src/exchange/taler-exchange-httpd_deposit.c1
-rw-r--r--src/exchange/taler-exchange-httpd_mhd.c9
-rw-r--r--src/exchange/taler-exchange-httpd_payback.c1
-rw-r--r--src/exchange/taler-exchange-httpd_refresh_link.c4
-rw-r--r--src/exchange/taler-exchange-httpd_refresh_melt.c1
-rw-r--r--src/exchange/taler-exchange-httpd_refresh_reveal.c1
-rw-r--r--src/exchange/taler-exchange-httpd_refund.c1
-rw-r--r--src/exchange/taler-exchange-httpd_reserve_status.c4
-rw-r--r--src/exchange/taler-exchange-httpd_reserve_withdraw.c1
-rw-r--r--src/exchange/taler-exchange-httpd_test.c1
-rw-r--r--src/exchange/taler-exchange-httpd_track_transaction.c1
-rw-r--r--src/exchange/taler-exchange-httpd_track_transfer.c1
-rw-r--r--src/exchange/taler-exchange-httpd_wire.c4
-rw-r--r--src/exchange/taler-exchange-wirewatch.c5
-rw-r--r--src/wire-plugins/plugin_wire_taler-bank.c9
21 files changed, 57 insertions, 4 deletions
diff --git a/src/auditordb/plugin_auditordb_postgres.c b/src/auditordb/plugin_auditordb_postgres.c
index c5559131f..19714e129 100644
--- a/src/auditordb/plugin_auditordb_postgres.c
+++ b/src/auditordb/plugin_auditordb_postgres.c
@@ -1027,6 +1027,7 @@ postgres_start (void *cls,
1027 GNUNET_PQ_EXECUTE_STATEMENT_END 1027 GNUNET_PQ_EXECUTE_STATEMENT_END
1028 }; 1028 };
1029 1029
1030 (void) cls;
1030 if (GNUNET_OK != 1031 if (GNUNET_OK !=
1031 GNUNET_PQ_exec_statements (session->conn, 1032 GNUNET_PQ_exec_statements (session->conn,
1032 es)) 1033 es))
diff --git a/src/exchange-tools/taler-exchange-dbinit.c b/src/exchange-tools/taler-exchange-dbinit.c
index afc1b837e..e9a1e3349 100644
--- a/src/exchange-tools/taler-exchange-dbinit.c
+++ b/src/exchange-tools/taler-exchange-dbinit.c
@@ -54,6 +54,9 @@ run (void *cls,
54{ 54{
55 struct TALER_EXCHANGEDB_Plugin *plugin; 55 struct TALER_EXCHANGEDB_Plugin *plugin;
56 56
57 (void) cls;
58 (void) args;
59 (void) cfgfile;
57 if (NULL == 60 if (NULL ==
58 (plugin = TALER_EXCHANGEDB_plugin_load (cfg))) 61 (plugin = TALER_EXCHANGEDB_plugin_load (cfg)))
59 { 62 {
diff --git a/src/exchange-tools/taler-exchange-keycheck.c b/src/exchange-tools/taler-exchange-keycheck.c
index 2c2ebcf9f..42b1b511b 100644
--- a/src/exchange-tools/taler-exchange-keycheck.c
+++ b/src/exchange-tools/taler-exchange-keycheck.c
@@ -57,6 +57,7 @@ signkeys_iter (void *cls,
57 const char *filename, 57 const char *filename,
58 const struct TALER_EXCHANGEDB_PrivateSigningKeyInformationP *ski) 58 const struct TALER_EXCHANGEDB_PrivateSigningKeyInformationP *ski)
59{ 59{
60 (void) cls;
60 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 61 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
61 "Iterating over key `%s' for start time %s\n", 62 "Iterating over key `%s' for start time %s\n",
62 filename, 63 filename,
@@ -135,6 +136,7 @@ denomkeys_iter (void *cls,
135{ 136{
136 struct GNUNET_HashCode hc; 137 struct GNUNET_HashCode hc;
137 138
139 (void) cls;
138 if (ntohl (dki->issue.properties.purpose.size) != 140 if (ntohl (dki->issue.properties.purpose.size) !=
139 sizeof (struct TALER_DenominationKeyValidityPS)) 141 sizeof (struct TALER_DenominationKeyValidityPS))
140 { 142 {
@@ -235,6 +237,9 @@ run (void *cls,
235 const char *cfgfile, 237 const char *cfgfile,
236 const struct GNUNET_CONFIGURATION_Handle *cfg) 238 const struct GNUNET_CONFIGURATION_Handle *cfg)
237{ 239{
240 (void) cls;
241 (void) args;
242 (void) cfgfile;
238 kcfg = cfg; 243 kcfg = cfg;
239 if (GNUNET_OK != 244 if (GNUNET_OK !=
240 GNUNET_CONFIGURATION_get_value_filename (kcfg, 245 GNUNET_CONFIGURATION_get_value_filename (kcfg,
diff --git a/src/exchange-tools/taler-exchange-keyup.c b/src/exchange-tools/taler-exchange-keyup.c
index 8e982d17e..d974ec46a 100644
--- a/src/exchange-tools/taler-exchange-keyup.c
+++ b/src/exchange-tools/taler-exchange-keyup.c
@@ -1201,6 +1201,9 @@ run (void *cls,
1201 struct GNUNET_TIME_Relative lookahead_sign; 1201 struct GNUNET_TIME_Relative lookahead_sign;
1202 struct GNUNET_CRYPTO_EddsaPrivateKey *eddsa_priv; 1202 struct GNUNET_CRYPTO_EddsaPrivateKey *eddsa_priv;
1203 1203
1204 (void) cls;
1205 (void) args;
1206 (void) cfgfile;
1204 kcfg = cfg; 1207 kcfg = cfg;
1205 1208
1206 if (now.abs_value_us != now_tmp.abs_value_us) 1209 if (now.abs_value_us != now_tmp.abs_value_us)
diff --git a/src/exchange-tools/taler-exchange-wire.c b/src/exchange-tools/taler-exchange-wire.c
index 22920ed28..ae8a4a740 100644
--- a/src/exchange-tools/taler-exchange-wire.c
+++ b/src/exchange-tools/taler-exchange-wire.c
@@ -61,6 +61,7 @@ sign_account_data (void *cls,
61 FILE *out; 61 FILE *out;
62 int ret; 62 int ret;
63 63
64 (void) cls;
64 if (GNUNET_NO == ai->credit_enabled) 65 if (GNUNET_NO == ai->credit_enabled)
65 return; 66 return;
66 if (NULL == ai->wire_response_filename) 67 if (NULL == ai->wire_response_filename)
@@ -137,6 +138,9 @@ run (void *cls,
137 struct GNUNET_CRYPTO_EddsaPublicKey mpub; 138 struct GNUNET_CRYPTO_EddsaPublicKey mpub;
138 struct GNUNET_CRYPTO_EddsaPublicKey mpub_cfg; 139 struct GNUNET_CRYPTO_EddsaPublicKey mpub_cfg;
139 140
141 (void) cls;
142 (void) args;
143 (void) cfgfile;
140 if ( (NULL == masterkeyfile) && 144 if ( (NULL == masterkeyfile) &&
141 (GNUNET_OK != 145 (GNUNET_OK !=
142 GNUNET_CONFIGURATION_get_value_filename (cfg, 146 GNUNET_CONFIGURATION_get_value_filename (cfg,
diff --git a/src/exchange-tools/taler-wire.c b/src/exchange-tools/taler-wire.c
index 4d6e0fcd7..12963324a 100644
--- a/src/exchange-tools/taler-wire.c
+++ b/src/exchange-tools/taler-wire.c
@@ -116,6 +116,7 @@ history_cb (void *cls,
116{ 116{
117 char *row_off_enc; 117 char *row_off_enc;
118 118
119 (void) cls;
119 if (TALER_BANK_DIRECTION_NONE == dir) 120 if (TALER_BANK_DIRECTION_NONE == dir)
120 { 121 {
121 fprintf (stdout, 122 fprintf (stdout,
diff --git a/src/exchange/taler-exchange-httpd_deposit.c b/src/exchange/taler-exchange-httpd_deposit.c
index 9e96dfd81..e1b30272c 100644
--- a/src/exchange/taler-exchange-httpd_deposit.c
+++ b/src/exchange/taler-exchange-httpd_deposit.c
@@ -411,6 +411,7 @@ TEH_DEPOSIT_handler_deposit (struct TEH_RequestHandler *rh,
411 GNUNET_JSON_spec_end () 411 GNUNET_JSON_spec_end ()
412 }; 412 };
413 413
414 (void) rh;
414 res = TEH_PARSE_post_json (connection, 415 res = TEH_PARSE_post_json (connection,
415 connection_cls, 416 connection_cls,
416 upload_data, 417 upload_data,
diff --git a/src/exchange/taler-exchange-httpd_mhd.c b/src/exchange/taler-exchange-httpd_mhd.c
index dfea44adb..95e51c8ed 100644
--- a/src/exchange/taler-exchange-httpd_mhd.c
+++ b/src/exchange/taler-exchange-httpd_mhd.c
@@ -53,6 +53,9 @@ TEH_MHD_handler_static_response (struct TEH_RequestHandler *rh,
53 struct MHD_Response *response; 53 struct MHD_Response *response;
54 int ret; 54 int ret;
55 55
56 (void) connection_cls;
57 (void) upload_data;
58 (void) upload_data_size;
56 if (0 == rh->data_size) 59 if (0 == rh->data_size)
57 rh->data_size = strlen ((const char *) rh->data); 60 rh->data_size = strlen ((const char *) rh->data);
58 response = MHD_create_response_from_buffer (rh->data_size, 61 response = MHD_create_response_from_buffer (rh->data_size,
@@ -99,6 +102,9 @@ TEH_MHD_handler_agpl_redirect (struct TEH_RequestHandler *rh,
99 struct MHD_Response *response; 102 struct MHD_Response *response;
100 int ret; 103 int ret;
101 104
105 (void) connection_cls;
106 (void) upload_data;
107 (void) upload_data_size;
102 response = MHD_create_response_from_buffer (strlen (agpl), 108 response = MHD_create_response_from_buffer (strlen (agpl),
103 (void *) agpl, 109 (void *) agpl,
104 MHD_RESPMEM_PERSISTENT); 110 MHD_RESPMEM_PERSISTENT);
@@ -147,6 +153,9 @@ TEH_MHD_handler_send_json_pack_error (struct TEH_RequestHandler *rh,
147 const char *upload_data, 153 const char *upload_data,
148 size_t *upload_data_size) 154 size_t *upload_data_size)
149{ 155{
156 (void) connection_cls;
157 (void) upload_data;
158 (void) upload_data_size;
150 return TEH_RESPONSE_reply_json_pack (connection, 159 return TEH_RESPONSE_reply_json_pack (connection,
151 rh->response_code, 160 rh->response_code,
152 "{s:s}", 161 "{s:s}",
diff --git a/src/exchange/taler-exchange-httpd_payback.c b/src/exchange/taler-exchange-httpd_payback.c
index 468d69b3f..8a881ffff 100644
--- a/src/exchange/taler-exchange-httpd_payback.c
+++ b/src/exchange/taler-exchange-httpd_payback.c
@@ -598,6 +598,7 @@ TEH_PAYBACK_handler_payback (struct TEH_RequestHandler *rh,
598 GNUNET_JSON_spec_end () 598 GNUNET_JSON_spec_end ()
599 }; 599 };
600 600
601 (void) rh;
601 res = TEH_PARSE_post_json (connection, 602 res = TEH_PARSE_post_json (connection,
602 connection_cls, 603 connection_cls,
603 upload_data, 604 upload_data,
diff --git a/src/exchange/taler-exchange-httpd_refresh_link.c b/src/exchange/taler-exchange-httpd_refresh_link.c
index d29d4e642..c51887a95 100644
--- a/src/exchange/taler-exchange-httpd_refresh_link.c
+++ b/src/exchange/taler-exchange-httpd_refresh_link.c
@@ -194,6 +194,10 @@ TEH_REFRESH_handler_refresh_link (struct TEH_RequestHandler *rh,
194 int res; 194 int res;
195 struct HTD_Context ctx; 195 struct HTD_Context ctx;
196 196
197 (void) rh;
198 (void) connection_cls;
199 (void) upload_data;
200 (void) upload_data_size;
197 memset (&ctx, 201 memset (&ctx,
198 0, 202 0,
199 sizeof (ctx)); 203 sizeof (ctx));
diff --git a/src/exchange/taler-exchange-httpd_refresh_melt.c b/src/exchange/taler-exchange-httpd_refresh_melt.c
index 76f0fac72..538d8afe2 100644
--- a/src/exchange/taler-exchange-httpd_refresh_melt.c
+++ b/src/exchange/taler-exchange-httpd_refresh_melt.c
@@ -464,6 +464,7 @@ TEH_REFRESH_handler_refresh_melt (struct TEH_RequestHandler *rh,
464 GNUNET_JSON_spec_end () 464 GNUNET_JSON_spec_end ()
465 }; 465 };
466 466
467 (void) rh;
467 res = TEH_PARSE_post_json (connection, 468 res = TEH_PARSE_post_json (connection,
468 connection_cls, 469 connection_cls,
469 upload_data, 470 upload_data,
diff --git a/src/exchange/taler-exchange-httpd_refresh_reveal.c b/src/exchange/taler-exchange-httpd_refresh_reveal.c
index 29f0738ad..c1a7b6392 100644
--- a/src/exchange/taler-exchange-httpd_refresh_reveal.c
+++ b/src/exchange/taler-exchange-httpd_refresh_reveal.c
@@ -874,6 +874,7 @@ TEH_REFRESH_handler_refresh_reveal (struct TEH_RequestHandler *rh,
874 GNUNET_JSON_spec_end () 874 GNUNET_JSON_spec_end ()
875 }; 875 };
876 876
877 (void) rh;
877 res = TEH_PARSE_post_json (connection, 878 res = TEH_PARSE_post_json (connection,
878 connection_cls, 879 connection_cls,
879 upload_data, 880 upload_data,
diff --git a/src/exchange/taler-exchange-httpd_refund.c b/src/exchange/taler-exchange-httpd_refund.c
index ce66d6578..93df54c8a 100644
--- a/src/exchange/taler-exchange-httpd_refund.c
+++ b/src/exchange/taler-exchange-httpd_refund.c
@@ -509,6 +509,7 @@ TEH_REFUND_handler_refund (struct TEH_RequestHandler *rh,
509 GNUNET_JSON_spec_end () 509 GNUNET_JSON_spec_end ()
510 }; 510 };
511 511
512 (void) rh;
512 res = TEH_PARSE_post_json (connection, 513 res = TEH_PARSE_post_json (connection,
513 connection_cls, 514 connection_cls,
514 upload_data, 515 upload_data,
diff --git a/src/exchange/taler-exchange-httpd_reserve_status.c b/src/exchange/taler-exchange-httpd_reserve_status.c
index a3f4dac9d..4f9761485 100644
--- a/src/exchange/taler-exchange-httpd_reserve_status.c
+++ b/src/exchange/taler-exchange-httpd_reserve_status.c
@@ -91,7 +91,7 @@ struct ReserveStatusContext
91 * @param connection MHD request which triggered the transaction 91 * @param connection MHD request which triggered the transaction
92 * @param session database session to use 92 * @param session database session to use
93 * @param[out] mhd_ret set to MHD response status for @a connection, 93 * @param[out] mhd_ret set to MHD response status for @a connection,
94 * if transaction failed (!) 94 * if transaction failed (!); unused
95 * @return transaction status 95 * @return transaction status
96 */ 96 */
97static enum GNUNET_DB_QueryStatus 97static enum GNUNET_DB_QueryStatus
@@ -102,6 +102,8 @@ reserve_status_transaction (void *cls,
102{ 102{
103 struct ReserveStatusContext *rsc = cls; 103 struct ReserveStatusContext *rsc = cls;
104 104
105 (void) connection;
106 (void) mhd_ret;
105 return TEH_plugin->get_reserve_history (TEH_plugin->cls, 107 return TEH_plugin->get_reserve_history (TEH_plugin->cls,
106 session, 108 session,
107 &rsc->reserve_pub, 109 &rsc->reserve_pub,
diff --git a/src/exchange/taler-exchange-httpd_reserve_withdraw.c b/src/exchange/taler-exchange-httpd_reserve_withdraw.c
index e5829d9dc..1199ed67d 100644
--- a/src/exchange/taler-exchange-httpd_reserve_withdraw.c
+++ b/src/exchange/taler-exchange-httpd_reserve_withdraw.c
@@ -380,6 +380,7 @@ TEH_RESERVE_handler_reserve_withdraw (struct TEH_RequestHandler *rh,
380 GNUNET_JSON_spec_end () 380 GNUNET_JSON_spec_end ()
381 }; 381 };
382 382
383 (void) rh;
383 res = TEH_PARSE_post_json (connection, 384 res = TEH_PARSE_post_json (connection,
384 connection_cls, 385 connection_cls,
385 upload_data, 386 upload_data,
diff --git a/src/exchange/taler-exchange-httpd_test.c b/src/exchange/taler-exchange-httpd_test.c
index b55a98885..0a64f267f 100644
--- a/src/exchange/taler-exchange-httpd_test.c
+++ b/src/exchange/taler-exchange-httpd_test.c
@@ -68,6 +68,7 @@ TEH_TEST_handler_test_base32 (struct TEH_RequestHandler *rh,
68 GNUNET_JSON_spec_end () 68 GNUNET_JSON_spec_end ()
69 }; 69 };
70 70
71 (void) rh;
71 res = TEH_PARSE_post_json (connection, 72 res = TEH_PARSE_post_json (connection,
72 connection_cls, 73 connection_cls,
73 upload_data, 74 upload_data,
diff --git a/src/exchange/taler-exchange-httpd_track_transaction.c b/src/exchange/taler-exchange-httpd_track_transaction.c
index c89192680..3b8d14a01 100644
--- a/src/exchange/taler-exchange-httpd_track_transaction.c
+++ b/src/exchange/taler-exchange-httpd_track_transaction.c
@@ -356,6 +356,7 @@ TEH_TRACKING_handler_track_transaction (struct TEH_RequestHandler *rh,
356 GNUNET_JSON_spec_end () 356 GNUNET_JSON_spec_end ()
357 }; 357 };
358 358
359 (void) rh;
359 res = TEH_PARSE_post_json (connection, 360 res = TEH_PARSE_post_json (connection,
360 connection_cls, 361 connection_cls,
361 upload_data, 362 upload_data,
diff --git a/src/exchange/taler-exchange-httpd_track_transfer.c b/src/exchange/taler-exchange-httpd_track_transfer.c
index 2aaeacd7e..cacbfaa85 100644
--- a/src/exchange/taler-exchange-httpd_track_transfer.c
+++ b/src/exchange/taler-exchange-httpd_track_transfer.c
@@ -280,6 +280,7 @@ handle_transaction_data (void *cls,
280 struct TEH_TrackTransferDetail *wdd; 280 struct TEH_TrackTransferDetail *wdd;
281 char *wire_method; 281 char *wire_method;
282 282
283 (void) rowid;
283 (void) denom_pub; 284 (void) denom_pub;
284 if (GNUNET_SYSERR == ctx->is_valid) 285 if (GNUNET_SYSERR == ctx->is_valid)
285 return; 286 return;
diff --git a/src/exchange/taler-exchange-httpd_wire.c b/src/exchange/taler-exchange-httpd_wire.c
index 1bc4a8279..91c928f94 100644
--- a/src/exchange/taler-exchange-httpd_wire.c
+++ b/src/exchange/taler-exchange-httpd_wire.c
@@ -135,6 +135,10 @@ TEH_WIRE_handler_wire (struct TEH_RequestHandler *rh,
135 const char *upload_data, 135 const char *upload_data,
136 size_t *upload_data_size) 136 size_t *upload_data_size)
137{ 137{
138 (void) rh;
139 (void) connection;
140 (void) upload_data;
141 (void) upload_data_size;
138 GNUNET_assert (NULL != wire_methods); 142 GNUNET_assert (NULL != wire_methods);
139 return TEH_RESPONSE_reply_json (connection, 143 return TEH_RESPONSE_reply_json (connection,
140 wire_methods, 144 wire_methods,
diff --git a/src/exchange/taler-exchange-wirewatch.c b/src/exchange/taler-exchange-wirewatch.c
index 83d90c6e2..3699c9d3b 100644
--- a/src/exchange/taler-exchange-wirewatch.c
+++ b/src/exchange/taler-exchange-wirewatch.c
@@ -201,6 +201,7 @@ shutdown_task (void *cls)
201{ 201{
202 struct WireAccount *wa; 202 struct WireAccount *wa;
203 203
204 (void) cls;
204 if (NULL != task) 205 if (NULL != task)
205 { 206 {
206 GNUNET_SCHEDULER_cancel (task); 207 GNUNET_SCHEDULER_cancel (task);
@@ -583,6 +584,7 @@ find_transfers (void *cls)
583 struct TALER_EXCHANGEDB_Session *session; 584 struct TALER_EXCHANGEDB_Session *session;
584 enum GNUNET_DB_QueryStatus qs; 585 enum GNUNET_DB_QueryStatus qs;
585 586
587 (void) cls;
586 task = NULL; 588 task = NULL;
587 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 589 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
588 "Checking for incoming wire transfers\n"); 590 "Checking for incoming wire transfers\n");
@@ -677,6 +679,9 @@ run (void *cls,
677 const char *cfgfile, 679 const char *cfgfile,
678 const struct GNUNET_CONFIGURATION_Handle *c) 680 const struct GNUNET_CONFIGURATION_Handle *c)
679{ 681{
682 (void) cls;
683 (void) args;
684 (void) cfgfile;
680 cfg = c; 685 cfg = c;
681 if (GNUNET_OK != 686 if (GNUNET_OK !=
682 exchange_serve_process_config ()) 687 exchange_serve_process_config ())
diff --git a/src/wire-plugins/plugin_wire_taler-bank.c b/src/wire-plugins/plugin_wire_taler-bank.c
index b468496a8..ad8daa4ef 100644
--- a/src/wire-plugins/plugin_wire_taler-bank.c
+++ b/src/wire-plugins/plugin_wire_taler-bank.c
@@ -253,6 +253,7 @@ static void
253taler_bank_prepare_wire_transfer_cancel (void *cls, 253taler_bank_prepare_wire_transfer_cancel (void *cls,
254 struct TALER_WIRE_PrepareHandle *pth) 254 struct TALER_WIRE_PrepareHandle *pth)
255{ 255{
256 (void) cls;
256 if (NULL != pth->task) 257 if (NULL != pth->task)
257 GNUNET_SCHEDULER_cancel (pth->task); 258 GNUNET_SCHEDULER_cancel (pth->task);
258 TALER_BANK_auth_free (&pth->auth); 259 TALER_BANK_auth_free (&pth->auth);
@@ -547,6 +548,7 @@ execute_cb (void *cls,
547 char *s; 548 char *s;
548 uint64_t serial_id_nbo; 549 uint64_t serial_id_nbo;
549 550
551 (void) timestamp;
550 eh->aaih = NULL; 552 eh->aaih = NULL;
551 emsg = NULL; 553 emsg = NULL;
552 if (NULL != json) 554 if (NULL != json)
@@ -567,15 +569,12 @@ execute_cb (void *cls,
567 "%u/%u", 569 "%u/%u",
568 http_status, 570 http_status,
569 (unsigned int) ec); 571 (unsigned int) ec);
570
571 serial_id_nbo = GNUNET_htonll (serial_id); 572 serial_id_nbo = GNUNET_htonll (serial_id);
572
573 eh->cc (eh->cc_cls, 573 eh->cc (eh->cc_cls,
574 (MHD_HTTP_OK == http_status) ? GNUNET_OK : GNUNET_SYSERR, 574 (MHD_HTTP_OK == http_status) ? GNUNET_OK : GNUNET_SYSERR,
575 &serial_id_nbo, 575 &serial_id_nbo,
576 sizeof (uint64_t), 576 sizeof (uint64_t),
577 (MHD_HTTP_OK == http_status) ? NULL : s); 577 (MHD_HTTP_OK == http_status) ? NULL : s);
578
579 GNUNET_free (s); 578 GNUNET_free (s);
580 GNUNET_free (eh); 579 GNUNET_free (eh);
581} 580}
@@ -753,6 +752,7 @@ static void
753taler_bank_execute_wire_transfer_cancel (void *cls, 752taler_bank_execute_wire_transfer_cancel (void *cls,
754 struct TALER_WIRE_ExecuteHandle *eh) 753 struct TALER_WIRE_ExecuteHandle *eh)
755{ 754{
755 (void) cls;
756 TALER_BANK_admin_add_incoming_cancel (eh->aaih); 756 TALER_BANK_admin_add_incoming_cancel (eh->aaih);
757 GNUNET_free (eh); 757 GNUNET_free (eh);
758} 758}
@@ -841,6 +841,7 @@ bhist_cb (void *cls,
841 uint64_t bserial_id = GNUNET_htonll (serial_id); 841 uint64_t bserial_id = GNUNET_htonll (serial_id);
842 struct TALER_WIRE_TransferDetails wd; 842 struct TALER_WIRE_TransferDetails wd;
843 843
844 (void) json;
844 switch (http_status) 845 switch (http_status)
845 { 846 {
846 case MHD_HTTP_OK: 847 case MHD_HTTP_OK:
@@ -1104,6 +1105,7 @@ reject_cb (void *cls,
1104{ 1105{
1105 struct TALER_WIRE_RejectHandle *rh = cls; 1106 struct TALER_WIRE_RejectHandle *rh = cls;
1106 1107
1108 (void) http_status;
1107 rh->brh = NULL; 1109 rh->brh = NULL;
1108 rh->rej_cb (rh->rej_cb_cls, 1110 rh->rej_cb (rh->rej_cb_cls,
1109 ec); 1111 ec);
@@ -1129,6 +1131,7 @@ taler_bank_reject_transfer_cancel (void *cls,
1129{ 1131{
1130 void *ret = rh->rej_cb_cls; 1132 void *ret = rh->rej_cb_cls;
1131 1133
1134 (void) cls;
1132 if (NULL != rh->brh) 1135 if (NULL != rh->brh)
1133 TALER_BANK_reject_cancel (rh->brh); 1136 TALER_BANK_reject_cancel (rh->brh);
1134 TALER_BANK_auth_free (&rh->auth); 1137 TALER_BANK_auth_free (&rh->auth);