diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-10-29 17:15:20 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-10-29 17:15:20 +0100 |
commit | 472c97b31a02ccfa9da9b14a35653e9e6b2e511b (patch) | |
tree | f33e17185888ac4637d919a7ac670717cc5fdecc /src/backend/taler-merchant-httpd.c | |
parent | 726d1a72b7599a00b01210d30447c40655ad3139 (diff) | |
download | merchant-472c97b31a02ccfa9da9b14a35653e9e6b2e511b.tar.gz merchant-472c97b31a02ccfa9da9b14a35653e9e6b2e511b.tar.bz2 merchant-472c97b31a02ccfa9da9b14a35653e9e6b2e511b.zip |
fix compiler warnings
Diffstat (limited to 'src/backend/taler-merchant-httpd.c')
-rw-r--r-- | src/backend/taler-merchant-httpd.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/backend/taler-merchant-httpd.c b/src/backend/taler-merchant-httpd.c index 91840559..66dcc461 100644 --- a/src/backend/taler-merchant-httpd.c +++ b/src/backend/taler-merchant-httpd.c @@ -167,7 +167,7 @@ is_valid_correlation_id (const char *correlation_id) { if (strlen (correlation_id) >= 64) return GNUNET_NO; - for (int i = 0; i < strlen (correlation_id); i++) + for (size_t i = 0; i < strlen (correlation_id); i++) if (! (isalnum (correlation_id[i]) ||(correlation_id[i] == '-'))) return GNUNET_NO; return GNUNET_YES; @@ -1142,6 +1142,8 @@ url_handler (void *cls, int ret; struct TMH_RequestHandler *selected_handler = NULL; + (void) cls; + (void) version; if (NULL == hc) { GNUNET_async_scope_fresh (&aid); @@ -1330,6 +1332,9 @@ run (void *cls, { int fh; + (void) cls; + (void) args; + (void) cfgfile; GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Starting taler-merchant-httpd\n"); |