From ee9e7b172b359417ed418f516a8aafb5fae4f769 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Fri, 24 May 2013 08:33:51 -0400 Subject: [PATCH] netdev-bsd: Silence warnings on unimplemented platform. netdev_bsd_get_next_hop currently lacks an implementation on FreeBSD, so its arguments are unused; mark them so. Signed-off-by: Ed Maste Signed-off-by: Ben Pfaff --- lib/netdev-bsd.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/netdev-bsd.c b/lib/netdev-bsd.c index 87ac79f92..0fb0057a2 100644 --- a/lib/netdev-bsd.c +++ b/lib/netdev-bsd.c @@ -1226,8 +1226,9 @@ netdev_bsd_convert_kernel_name_to_ovs_name(const char *kernel_name) #endif static int -netdev_bsd_get_next_hop(const struct in_addr *host, struct in_addr *next_hop, - char **netdev_name) +netdev_bsd_get_next_hop(const struct in_addr *host OVS_UNUSED, + struct in_addr *next_hop OVS_UNUSED, + char **netdev_name OVS_UNUSED) { #if defined(__NetBSD__) static int seq = 0; -- 2.43.0