summaryrefslogtreecommitdiffstats
path: root/proto/ospf/topology.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2005-02-20 19:56:06 +0100
committerOndrej Filip <feela@network.cz>2005-02-20 19:56:06 +0100
commit63ca37f3139505a1881bf2c343f18d4ed8e22ce4 (patch)
tree0a15abc7cc4159f5e87d9af0605b39abad4c5a9e /proto/ospf/topology.c
parentefc9e1b78b9332a0a8dfce31f1ef8efc82edc63d (diff)
downloadbird-63ca37f3139505a1881bf2c343f18d4ed8e22ce4.tar
bird-63ca37f3139505a1881bf2c343f18d4ed8e22ce4.zip
Cleanup - all unused variables deleted.
Diffstat (limited to 'proto/ospf/topology.c')
-rw-r--r--proto/ospf/topology.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/proto/ospf/topology.c b/proto/ospf/topology.c
index 34fc316..85c640c 100644
--- a/proto/ospf/topology.c
+++ b/proto/ospf/topology.c
@@ -24,7 +24,6 @@ static void *
originate_rt_lsa_body(struct ospf_area *oa, u16 * length)
{
struct proto_ospf *po = oa->po;
- struct proto *p = &po->proto;
struct ospf_iface *ifa;
int j = 0, k = 0;
u16 i = 0;
@@ -403,7 +402,6 @@ flush_sum_lsa(struct ospf_area *oa, struct fib_node *fn, int type)
struct ospf_lsa_header lsa;
int max, i;
struct ospf_lsa_sum *sum = NULL;
- union ospf_lsa_sum_tm *tm;
lsa.rt = rtid;
lsa.type = LSA_T_SUM_NET;
@@ -511,9 +509,7 @@ originate_sum_lsa(struct ospf_area *oa, struct fib_node *fn, int type, int metri
void
check_sum_lsa(struct proto_ospf *po, ort *nf, int dest)
{
- struct proto *p = &po->proto;
struct ospf_area *oa;
- struct area_net *anet;
int flush, mlen;
ip_addr ip;