From 9ed99558e21ac6b81f112670b982262d2349e5a5 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 22 Aug 2022 22:45:41 +0200 Subject: -fix clang compiler warnings --- src/templating/templating_api.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/templating/templating_api.c') diff --git a/src/templating/templating_api.c b/src/templating/templating_api.c index b51c3a5c..6384672f 100644 --- a/src/templating/templating_api.c +++ b/src/templating/templating_api.c @@ -314,7 +314,7 @@ TALER_TEMPLATING_reply (struct MHD_Connection *connection, /** * Function called with a template's filename. * - * @param cls closure + * @param cls closure, NULL * @param filename complete filename (absolute path) * @return #GNUNET_OK to continue to iterate, * #GNUNET_NO to stop iteration with no error, @@ -331,6 +331,7 @@ load_template (void *cls, char *map; const char *name; + (void) cls; if ('.' == filename[0]) return GNUNET_OK; -- cgit v1.2.3