aboutsummaryrefslogtreecommitdiff
path: root/src/testing/testing_api_cmd_set_wire_fee.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-11-19 10:57:27 +0100
committerChristian Grothoff <christian@grothoff.org>2021-11-19 10:57:27 +0100
commitbdaaa0f6cb8f99168ed9916064a5e4145426480c (patch)
treebd8e37886cbc6356a00d5a0592d99f30f0b2f3c9 /src/testing/testing_api_cmd_set_wire_fee.c
parentdff5510dd36059a567d1110da870cc79bd508f70 (diff)
downloadexchange-bdaaa0f6cb8f99168ed9916064a5e4145426480c.tar.xz
-fix misc. compiler warnings
Diffstat (limited to 'src/testing/testing_api_cmd_set_wire_fee.c')
-rw-r--r--src/testing/testing_api_cmd_set_wire_fee.c23
1 files changed, 1 insertions, 22 deletions
diff --git a/src/testing/testing_api_cmd_set_wire_fee.c b/src/testing/testing_api_cmd_set_wire_fee.c
index 613e0f713..9b5f6258d 100644
--- a/src/testing/testing_api_cmd_set_wire_fee.c
+++ b/src/testing/testing_api_cmd_set_wire_fee.c
@@ -206,26 +206,6 @@ wire_add_cleanup (void *cls,
}
-/**
- * Offer internal data from a "wire_add" CMD, to other commands.
- *
- * @param cls closure.
- * @param[out] ret result.
- * @param trait name of the trait.
- * @param index index number of the object to offer.
- *
- * @return #GNUNET_OK on success.
- */
-static int
-wire_add_traits (void *cls,
- const void **ret,
- const char *trait,
- unsigned int index)
-{
- return GNUNET_NO;
-}
-
-
struct TALER_TESTING_Command
TALER_TESTING_cmd_set_wire_fee (const char *label,
const char *wire_method,
@@ -247,8 +227,7 @@ TALER_TESTING_cmd_set_wire_fee (const char *label,
.cls = ds,
.label = label,
.run = &wire_add_run,
- .cleanup = &wire_add_cleanup,
- .traits = &wire_add_traits
+ .cleanup = &wire_add_cleanup
};
return cmd;