]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
FreeBSD: Remove unused compile warning
authorRoy Marples <roy@marples.name>
Mon, 30 Mar 2020 15:36:30 +0000 (16:36 +0100)
committerRoy Marples <roy@marples.name>
Mon, 30 Mar 2020 15:36:30 +0000 (16:36 +0100)
The actual warning about the lack of filtering is enough.

src/if-bsd.c

index 0103d845aed5ecfb35a259f715f4f4b8e7b7fe35..dbe5c35913f2e42a3141c04e6c160ac659d809d6 100644 (file)
@@ -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