aboutsummaryrefslogtreecommitdiff
path: root/src/templating
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-08-22 22:45:41 +0200
committerChristian Grothoff <christian@grothoff.org>2022-08-22 22:45:41 +0200
commit9ed99558e21ac6b81f112670b982262d2349e5a5 (patch)
tree2b4e5b064a1968f38e736794cc13f38e955f82f4 /src/templating
parenta199ba7fe61d1ea0aa7f9dcd4083ae2e52546c40 (diff)
downloadexchange-9ed99558e21ac6b81f112670b982262d2349e5a5.tar.xz
-fix clang compiler warnings
Diffstat (limited to 'src/templating')
-rw-r--r--src/templating/templating_api.c3
-rw-r--r--src/templating/test_mustach_jansson.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/templating/templating_api.c b/src/templating/templating_api.c
index b51c3a5c3..6384672f3 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;
diff --git a/src/templating/test_mustach_jansson.c b/src/templating/test_mustach_jansson.c
index 11af86faa..be3db67d2 100644
--- a/src/templating/test_mustach_jansson.c
+++ b/src/templating/test_mustach_jansson.c
@@ -83,6 +83,8 @@ main (int argc,
const char *xc_de = "summary: DEUTSCH";
const char *xc_fr = "summary: FRANCAISE";
+ (void) argc;
+ (void) argv;
GNUNET_assert (NULL != root);
GNUNET_assert (NULL != arr);
GNUNET_assert (NULL != obj);