]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Cleanup some warnings
authorOndrej Zajicek (work) <santiago@crfreenet.org>
Tue, 3 Jul 2018 16:08:35 +0000 (18:08 +0200)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Tue, 3 Jul 2018 16:08:35 +0000 (18:08 +0200)
proto/babel/babel.c
proto/ospf/ospf.c

index b4404f458bf1a4709dd2cb8c35416b9d8477e859..afa482bb9254d48e1a1bd549999bd1893bb32576 100644 (file)
@@ -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 */
index fa122f01f815d6f09677491f25c613bbd8f2714b..150f519f5ba54b28e7468d5c70ce3e42354b75c1 100644 (file)
@@ -446,7 +446,7 @@ ospf_disp(timer * timer)
  * import to the filters.
  */
 static int
-ospf_import_control(struct proto *P, rte **new, struct linpool *pool)
+ospf_import_control(struct proto *P, rte **new, struct linpool *pool UNUSED)
 {
   struct ospf_proto *p = (struct ospf_proto *) P;
   struct ospf_area *oa = ospf_main_area(p);