From c0e3021040054c5928c16ba0777ce1f1fc71cdd0 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 4 May 2016 06:59:48 +0200 Subject: dead code elimination --- src/exchange/taler-exchange-httpd_validation.c | 19 ------------------- src/exchange/taler-exchange-httpd_validation.h | 9 --------- 2 files changed, 28 deletions(-) (limited to 'src') diff --git a/src/exchange/taler-exchange-httpd_validation.c b/src/exchange/taler-exchange-httpd_validation.c index 830120a31..ba3543afa 100644 --- a/src/exchange/taler-exchange-httpd_validation.c +++ b/src/exchange/taler-exchange-httpd_validation.c @@ -174,25 +174,6 @@ TMH_json_validate_wireformat (const json_t *wire, } -/** - * Check if we support the given wire method. - * - * @param type type of wire method to check - * @return #GNUNET_YES if the method is supported - */ -int -TMH_VALIDATION_test_method (const char *type) -{ - struct Plugin *p; - - for (p=wire_head;NULL != p;p = p->next) - if (0 == strcasecmp (type, - p->type)) - return GNUNET_YES; - return GNUNET_NO; -} - - /** * Obtain JSON of the supported wire methods for a given * account name prefix. diff --git a/src/exchange/taler-exchange-httpd_validation.h b/src/exchange/taler-exchange-httpd_validation.h index bd04994ef..4ff50d081 100644 --- a/src/exchange/taler-exchange-httpd_validation.h +++ b/src/exchange/taler-exchange-httpd_validation.h @@ -54,15 +54,6 @@ int TMH_json_validate_wireformat (const json_t *wire, int ours); -/** - * Check if we support the given wire method. - * - * @param type type of wire method to check - * @return #GNUNET_YES if the method is supported - */ -int -TMH_VALIDATION_test_method (const char *type); - /** * Obtain JSON of the supported wire methods for a given -- cgit v1.2.3