From 3e236955c9369475872b9b86a58502fa777b50b9 Mon Sep 17 00:00:00 2001 From: Jan Moskyto Matejka Date: Fri, 14 Oct 2016 15:37:04 +0200 Subject: Build: switch on -Wextra, get rid of most of the warnings There are several unresolved -Wmissing-field-initializers on older versions of GCC than 5.1, all of them false positive. --- proto/radv/radv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'proto/radv/radv.c') diff --git a/proto/radv/radv.c b/proto/radv/radv.c index 6370e006..5c52217d 100644 --- a/proto/radv/radv.c +++ b/proto/radv/radv.c @@ -240,7 +240,7 @@ radv_if_notify(struct proto *p, unsigned flags, struct iface *iface) } static void -radv_ifa_notify(struct proto *p, unsigned flags, struct ifa *a) +radv_ifa_notify(struct proto *p, unsigned flags UNUSED, struct ifa *a) { struct proto_radv *ra = (struct proto_radv *) p; -- cgit v1.2.3