summaryrefslogtreecommitdiffstats
path: root/nest
diff options
context:
space:
mode:
Diffstat (limited to 'nest')
-rw-r--r--nest/a-path.c2
-rw-r--r--nest/rt-attr.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/nest/a-path.c b/nest/a-path.c
index dba214d..5aacf8f 100644
--- a/nest/a-path.c
+++ b/nest/a-path.c
@@ -298,7 +298,7 @@ parse_path(struct adata *path, struct pm_pos *pos)
u8 *p = path->data;
u8 *q = p + path->length;
struct pm_pos *opos = pos;
- int i, j, len;
+ int i, len;
while (p < q)
diff --git a/nest/rt-attr.c b/nest/rt-attr.c
index 8daebae..de63198 100644
--- a/nest/rt-attr.c
+++ b/nest/rt-attr.c
@@ -71,7 +71,6 @@ ea__find(ea_list *e, unsigned id)
while (e)
{
- /*
if (e->flags & EALF_BISECT)
{
l = 0;
@@ -89,7 +88,6 @@ ea__find(ea_list *e, unsigned id)
}
}
else
- */
for(m=0; m<e->count; m++)
if (e->attrs[m].id == id)
return &e->attrs[m];