summaryrefslogtreecommitdiff
path: root/src/wire-plugins
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-10-29 18:04:04 +0100
committerChristian Grothoff <christian@grothoff.org>2019-10-29 20:57:18 +0100
commit2696688aa31bd058ebff6610660d7e6d607c6e50 (patch)
tree41c0b34d966fe0768abc92007e6b5205a0644bc2 /src/wire-plugins
parent36efe024f55c3373344170f077b984f678aa4269 (diff)
downloadexchange-2696688aa31bd058ebff6610660d7e6d607c6e50.tar.gz
exchange-2696688aa31bd058ebff6610660d7e6d607c6e50.tar.bz2
exchange-2696688aa31bd058ebff6610660d7e6d607c6e50.zip
fix compiler warnings
Diffstat (limited to 'src/wire-plugins')
-rw-r--r--src/wire-plugins/plugin_wire_ebics.c33
-rw-r--r--src/wire-plugins/plugin_wire_template.c37
2 files changed, 70 insertions, 0 deletions
diff --git a/src/wire-plugins/plugin_wire_ebics.c b/src/wire-plugins/plugin_wire_ebics.c
index 5482762a3..1c74efd54 100644
--- a/src/wire-plugins/plugin_wire_ebics.c
+++ b/src/wire-plugins/plugin_wire_ebics.c
@@ -132,6 +132,14 @@ ebics_prepare_wire_transfer (void *cls,
TALER_WIRE_PrepareTransactionCallback psc,
void *psc_cls)
{
+ (void) cls;
+ (void) origin_account_section;
+ (void) destination_account_url;
+ (void) amount;
+ (void) exchange_base_url;
+ (void) wtid;
+ (void) psc;
+ (void) psc_cls;
GNUNET_break (0); // FIXME: not implemented
return NULL;
}
@@ -148,6 +156,8 @@ static void
ebics_prepare_wire_transfer_cancel (void *cls,
struct TALER_WIRE_PrepareHandle *pth)
{
+ (void) cls;
+ (void) pth;
GNUNET_break (0); // FIXME: not implemented
}
@@ -169,6 +179,11 @@ ebics_execute_wire_transfer (void *cls,
TALER_WIRE_ConfirmationCallback cc,
void *cc_cls)
{
+ (void) cls;
+ (void) buf;
+ (void) buf_size;
+ (void) cc;
+ (void) cc_cls;
GNUNET_break (0); // FIXME: not implemented
return NULL;
}
@@ -190,6 +205,8 @@ static void
ebics_execute_wire_transfer_cancel (void *cls,
struct TALER_WIRE_ExecuteHandle *eh)
{
+ (void) cls;
+ (void) eh;
GNUNET_break (0); // FIXME: not implemented
}
@@ -226,6 +243,14 @@ ebics_get_history (void *cls,
TALER_WIRE_HistoryResultCallback hres_cb,
void *hres_cb_cls)
{
+ (void) cls;
+ (void) account_section;
+ (void) direction;
+ (void) start_off;
+ (void) start_off_len;
+ (void) num_results;
+ (void) hres_cb;
+ (void) hres_cb_cls;
GNUNET_break (0);
return NULL;
}
@@ -241,6 +266,8 @@ static void
ebics_get_history_cancel (void *cls,
struct TALER_WIRE_HistoryHandle *whh)
{
+ (void) cls;
+ (void) whh;
GNUNET_break (0);
}
@@ -315,6 +342,11 @@ ebics_reject_transfer (void *cls,
{
struct TALER_WIRE_RejectHandle *rh;
+ (void) account_section;
+ (void) start_off;
+ (void) start_off_len;
+ (void) rej_cb;
+ (void) rej_cb_cls;
GNUNET_break (0); /* not implemented, just a stub! */
rh = GNUNET_new (struct TALER_WIRE_RejectHandle);
rh->rej_cb = rej_cb;
@@ -343,6 +375,7 @@ ebics_reject_transfer_cancel (void *cls,
{
void *ret = rh->rej_cb_cls;
+ (void) cls;
GNUNET_SCHEDULER_cancel (rh->timeout_task);
GNUNET_free (rh);
return ret;
diff --git a/src/wire-plugins/plugin_wire_template.c b/src/wire-plugins/plugin_wire_template.c
index 0d0e652a1..29c4553aa 100644
--- a/src/wire-plugins/plugin_wire_template.c
+++ b/src/wire-plugins/plugin_wire_template.c
@@ -84,6 +84,8 @@ static enum TALER_ErrorCode
template_wire_validate (void *cls,
const char *account_url)
{
+ (void) cls;
+ (void) account_url;
GNUNET_break (0);
return TALER_EC_NOT_IMPLEMENTED;
}
@@ -114,6 +116,14 @@ template_prepare_wire_transfer (void *cls,
TALER_WIRE_PrepareTransactionCallback ptc,
void *ptc_cls)
{
+ (void) cls;
+ (void) origin_account_section;
+ (void) destination_account_url;
+ (void) amount;
+ (void) exchange_base_url;
+ (void) wtid;
+ (void) ptc;
+ (void) ptc_cls;
GNUNET_break (0);
return NULL;
}
@@ -130,6 +140,8 @@ static void
template_prepare_wire_transfer_cancel (void *cls,
struct TALER_WIRE_PrepareHandle *pth)
{
+ (void) cls;
+ (void) pth;
GNUNET_break (0);
}
@@ -151,6 +163,11 @@ template_execute_wire_transfer (void *cls,
TALER_WIRE_ConfirmationCallback cc,
void *cc_cls)
{
+ (void) cls;
+ (void) buf;
+ (void) buf_size;
+ (void) cc;
+ (void) cc_cls;
GNUNET_break (0);
return NULL;
}
@@ -172,6 +189,8 @@ static void
template_execute_wire_transfer_cancel (void *cls,
struct TALER_WIRE_ExecuteHandle *eh)
{
+ (void) cls;
+ (void) eh;
GNUNET_break (0);
}
@@ -208,6 +227,14 @@ template_get_history (void *cls,
TALER_WIRE_HistoryResultCallback hres_cb,
void *hres_cb_cls)
{
+ (void) cls;
+ (void) account_section;
+ (void) direction;
+ (void) start_off;
+ (void) start_off_len;
+ (void) num_results;
+ (void) hres_cb;
+ (void) hres_cb_cls;
GNUNET_break (0);
return NULL;
}
@@ -223,6 +250,8 @@ static void
template_get_history_cancel (void *cls,
struct TALER_WIRE_HistoryHandle *whh)
{
+ (void) cls;
+ (void) whh;
GNUNET_break (0);
}
@@ -254,6 +283,12 @@ template_reject_transfer (void *cls,
TALER_WIRE_RejectTransferCallback rej_cb,
void *rej_cb_cls)
{
+ (void) cls;
+ (void) account_section;
+ (void) start_off;
+ (void) start_off_len;
+ (void) rej_cb;
+ (void) rej_cb_cls;
GNUNET_break (0);
return NULL;
}
@@ -275,6 +310,8 @@ static void *
template_reject_transfer_cancel (void *cls,
struct TALER_WIRE_RejectHandle *rh)
{
+ (void) cls;
+ (void) rh;
GNUNET_break (0);
return NULL;
}