From 1512813e95a7edd2fad2834221dc1cb79aab6406 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sat, 5 Jun 2004 09:28:17 +0000 Subject: ... and a whole bunch of unused parameters and variables in ospf. --- proto/ospf/neighbor.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'proto/ospf/neighbor.c') diff --git a/proto/ospf/neighbor.c b/proto/ospf/neighbor.c index 44c8e4b..1ccc276 100644 --- a/proto/ospf/neighbor.c +++ b/proto/ospf/neighbor.c @@ -375,7 +375,7 @@ ospf_neigh_sm(struct ospf_neighbor *n, int event) void bdr_election(struct ospf_iface *ifa) { - struct ospf_neighbor *neigh,*ndr,*nbdr,me,*tmp; + struct ospf_neighbor *neigh,*ndr,*nbdr,me; u32 myid; ip_addr ndrip, nbdrip; int doadj; @@ -570,7 +570,6 @@ rxmt_timer_hook(timer *timer) { struct ospf_neighbor *n = (struct ospf_neighbor *)timer->data; struct ospf_iface *ifa = n->ifa; - struct proto *p = (struct proto *)(ifa->proto); struct top_hash_entry *en; DBG("%s: RXMT timer fired on interface %s for neigh: %I.\n", -- cgit v1.2.3