summaryrefslogtreecommitdiffstats
path: root/proto/ospf/packet.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/packet.c
parentefc9e1b78b9332a0a8dfce31f1ef8efc82edc63d (diff)
downloadbird-63ca37f3139505a1881bf2c343f18d4ed8e22ce4.tar
bird-63ca37f3139505a1881bf2c343f18d4ed8e22ce4.zip
Cleanup - all unused variables deleted.
Diffstat (limited to 'proto/ospf/packet.c')
-rw-r--r--proto/ospf/packet.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/proto/ospf/packet.c b/proto/ospf/packet.c
index 273a4a2..f06d3e0 100644
--- a/proto/ospf/packet.c
+++ b/proto/ospf/packet.c
@@ -38,8 +38,6 @@ ospf_pkt_maxsize(struct ospf_iface *ifa)
void
ospf_pkt_finalize(struct ospf_iface *ifa, struct ospf_packet *pkt)
{
- struct proto_ospf *po = ifa->oa->po;
- struct proto *p = &po->proto;
struct password_item *passwd = password_find (ifa->passwords);
void *tail;
struct MD5Context ctxt;
@@ -94,7 +92,6 @@ ospf_pkt_finalize(struct ospf_iface *ifa, struct ospf_packet *pkt)
static int
ospf_pkt_checkauth(struct ospf_neighbor *n, struct ospf_iface *ifa, struct ospf_packet *pkt, int size)
{
- int i;
struct proto_ospf *po = ifa->oa->po;
struct proto *p = &po->proto;
struct password_item *pass = NULL, *ptmp;