summaryrefslogtreecommitdiffstats
path: root/nest
diff options
context:
space:
mode:
Diffstat (limited to 'nest')
-rw-r--r--nest/a-path.c2
-rw-r--r--nest/iface.c3
-rw-r--r--nest/proto.c1
-rw-r--r--nest/rt-table.c1
4 files changed, 2 insertions, 5 deletions
diff --git a/nest/a-path.c b/nest/a-path.c
index 3541522..0ea3e7b 100644
--- a/nest/a-path.c
+++ b/nest/a-path.c
@@ -47,7 +47,7 @@ as_path_format(struct adata *path, byte *buf, unsigned int size)
byte *e = p + path->length;
byte *end = buf + size - 8;
int sp = 1;
- int l, type, isset, as;
+ int l, isset;
while (p < e)
{
diff --git a/nest/iface.c b/nest/iface.c
index d41b39d..c585a53 100644
--- a/nest/iface.c
+++ b/nest/iface.c
@@ -202,7 +202,6 @@ struct iface *
if_update(struct iface *new)
{
struct iface *i;
- struct ifa *a, *b;
unsigned c;
WALK_LIST(i, iface_list)
@@ -263,7 +262,7 @@ if_end_partial_update(struct iface *i)
void
if_end_update(void)
{
- struct iface *i, j;
+ struct iface *i;
struct ifa *a, *b;
if (!config->router_id)
diff --git a/nest/proto.c b/nest/proto.c
index 1af76ea..7b9821a 100644
--- a/nest/proto.c
+++ b/nest/proto.c
@@ -460,7 +460,6 @@ proto_notify_state(struct proto *p, unsigned ps)
}
break;
default:
- error:
bug("Invalid state transition for %s from %s/%s to */%s", p->name, c_states[cs], p_states[ops], p_states[ps]);
}
p->proto_state = ps;
diff --git a/nest/rt-table.c b/nest/rt-table.c
index 0c4c9e7..832e9ef 100644
--- a/nest/rt-table.c
+++ b/nest/rt-table.c
@@ -747,7 +747,6 @@ rt_show_cleanup(struct cli *c)
void
rt_show(struct rt_show_data *d)
{
- struct rtable_config *tc;
net *n;
if (d->pxlen == 256)