summaryrefslogtreecommitdiffstats
path: root/src/if-bsd.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2020-03-30 16:36:30 +0100
committerRoy Marples <roy@marples.name>2020-03-30 16:36:30 +0100
commit7ab9421d833262382d1fa8bf4bce7f4eb3437893 (patch)
treeed611aa2051e1b3d9d0ca4242a5e9db0d0daee33 /src/if-bsd.c
parent3390cf0734c5ead8f9cd9f10852c174146bb23fd (diff)
downloaddhcpcd-7ab9421d833262382d1fa8bf4bce7f4eb3437893.tar.xz
FreeBSD: Remove unused compile warning
The actual warning about the lack of filtering is enough.
Diffstat (limited to 'src/if-bsd.c')
-rw-r--r--src/if-bsd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/if-bsd.c b/src/if-bsd.c
index 0103d845..dbe5c359 100644
--- a/src/if-bsd.c
+++ b/src/if-bsd.c
@@ -1565,6 +1565,7 @@ if_missfilter_apply(struct dhcpcd_ctx *ctx)
ctx->rt_missfilter, (socklen_t)ctx->rt_missfilterlen);
#else
#warning kernel does not support RTM_MISS DST filtering
+ UNUSED(ctx);
errno = ENOTSUP;
return -1;
#endif