Cleanup some warnings
This commit is contained in:
parent
a81e18da25
commit
7b9b0c0a00
2 changed files with 2 additions and 3 deletions
|
@ -2091,9 +2091,8 @@ babel_prepare_attrs(struct linpool *pool, ea_list *next, uint metric, u64 router
|
||||||
|
|
||||||
|
|
||||||
static int
|
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;
|
struct rta *a = (*new)->attrs;
|
||||||
|
|
||||||
/* Reject our own unreachable routes */
|
/* Reject our own unreachable routes */
|
||||||
|
|
|
@ -446,7 +446,7 @@ ospf_disp(timer * timer)
|
||||||
* import to the filters.
|
* import to the filters.
|
||||||
*/
|
*/
|
||||||
static int
|
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_proto *p = (struct ospf_proto *) P;
|
||||||
struct ospf_area *oa = ospf_main_area(p);
|
struct ospf_area *oa = ospf_main_area(p);
|
||||||
|
|
Loading…
Reference in a new issue