From: Roy Marples Date: Mon, 30 Mar 2020 15:36:30 +0000 (+0100) Subject: FreeBSD: Remove unused compile warning X-Git-Tag: v9.0.0~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ab9421d833262382d1fa8bf4bce7f4eb3437893;p=thirdparty%2Fdhcpcd.git FreeBSD: Remove unused compile warning The actual warning about the lack of filtering is enough. --- 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