summaryrefslogtreecommitdiff
path: root/src/testing/testing_api_cmd_auditor_del.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_auditor_del.c
parentdff5510dd36059a567d1110da870cc79bd508f70 (diff)
downloadexchange-bdaaa0f6cb8f99168ed9916064a5e4145426480c.tar.gz
exchange-bdaaa0f6cb8f99168ed9916064a5e4145426480c.tar.bz2
exchange-bdaaa0f6cb8f99168ed9916064a5e4145426480c.zip
-fix misc. compiler warnings
Diffstat (limited to 'src/testing/testing_api_cmd_auditor_del.c')
-rw-r--r--src/testing/testing_api_cmd_auditor_del.c23
1 files changed, 1 insertions, 22 deletions
diff --git a/src/testing/testing_api_cmd_auditor_del.c b/src/testing/testing_api_cmd_auditor_del.c
index 71525a10e..dc31b72b6 100644
--- a/src/testing/testing_api_cmd_auditor_del.c
+++ b/src/testing/testing_api_cmd_auditor_del.c
@@ -165,26 +165,6 @@ auditor_del_cleanup (void *cls,
}
-/**
- * Offer internal data from a "auditor_del" 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
-auditor_del_traits (void *cls,
- const void **ret,
- const char *trait,
- unsigned int index)
-{
- return GNUNET_NO;
-}
-
-
struct TALER_TESTING_Command
TALER_TESTING_cmd_auditor_del (const char *label,
unsigned int expected_http_status,
@@ -200,8 +180,7 @@ TALER_TESTING_cmd_auditor_del (const char *label,
.cls = ds,
.label = label,
.run = &auditor_del_run,
- .cleanup = &auditor_del_cleanup,
- .traits = &auditor_del_traits
+ .cleanup = &auditor_del_cleanup
};
return cmd;