From 7b9b0c0a0087def6a3fc11824a891be5940a257b Mon Sep 17 00:00:00 2001 From: "Ondrej Zajicek (work)" Date: Tue, 3 Jul 2018 18:08:35 +0200 Subject: Cleanup some warnings --- proto/babel/babel.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'proto/babel') diff --git a/proto/babel/babel.c b/proto/babel/babel.c index b4404f45..afa482bb 100644 --- a/proto/babel/babel.c +++ b/proto/babel/babel.c @@ -2091,9 +2091,8 @@ babel_prepare_attrs(struct linpool *pool, ea_list *next, uint metric, u64 router static int -babel_import_control(struct proto *P, struct rte **new, struct linpool *pool) +babel_import_control(struct proto *P, struct rte **new, struct linpool *pool UNUSED) { - struct babel_proto *p = (void *) P; struct rta *a = (*new)->attrs; /* Reject our own unreachable routes */ -- cgit v1.2.3