Skip to content

Commit 4c442d1

Browse files
committed
Fix unused parameters compile warnings
1 parent de3eecf commit 4c442d1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

native/mod_manager/mod_manager.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -742,6 +742,7 @@ static char **process_buff(request_rec *r, char *buff)
742742

743743
static apr_status_t insert_update_host_helper(server_rec *s, mem_t *mem, hostinfo_t *info, char *alias)
744744
{
745+
(void)s;
745746
strncpy(info->host, alias, HOSTALIASZ);
746747
info->host[HOSTALIASZ] = '\0';
747748
return insert_update_host(mem, info);
@@ -797,6 +798,7 @@ static void read_remove_context(mem_t *mem, contextinfo_t *context)
797798
static apr_status_t insert_update_context_helper(server_rec *s, mem_t *mem, contextinfo_t *info, char *context,
798799
int status)
799800
{
801+
(void)s;
800802
info->id = 0;
801803
strncpy(info->context, context, CONTEXTSZ);
802804
info->context[CONTEXTSZ] = '\0';

0 commit comments

Comments
 (0)