Compiler warnings.

This commit is contained in:
Simon Kelley
2021-06-27 21:03:52 +01:00
parent 06df5ad7d0
commit a9ebbee7b6

View File

@@ -1240,6 +1240,8 @@ static int is_query_allowed_for_mark(u32 mark, const char *name)
static size_t answer_disallowed(struct dns_header *header, size_t qlen, u32 mark, const char *name)
{
unsigned char *p;
(void)name;
(void)mark;
#ifdef HAVE_UBUS
if (name)