summaryrefslogtreecommitdiffstats
path: root/proto/ospf/neighbor.c
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2004-06-05 11:28:17 +0200
committerMartin Mares <mj@ucw.cz>2004-06-05 11:28:17 +0200
commit1512813e95a7edd2fad2834221dc1cb79aab6406 (patch)
tree9f32693281ed351a464b58b3bd1171b928f735be /proto/ospf/neighbor.c
parentc91fc9b6064e988e7526ecedd6b9e25f0204c4b7 (diff)
downloadbird-1512813e95a7edd2fad2834221dc1cb79aab6406.tar
bird-1512813e95a7edd2fad2834221dc1cb79aab6406.zip
... and a whole bunch of unused parameters and variables in ospf.
Diffstat (limited to 'proto/ospf/neighbor.c')
-rw-r--r--proto/ospf/neighbor.c3
1 files changed, 1 insertions, 2 deletions
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",