summaryrefslogtreecommitdiff
path: root/lib/table.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2015-05-19 18:04:26 -0700
committerDonald Sharp <sharpd@cumulusnetworks.com>2015-05-19 18:04:26 -0700
commit24873f0c06e6196a105f648e8fe29d19dcddd1de (patch)
treef0ad6ae52390a9ed3b63c6fe228da30f5cf92d7b /lib/table.c
parent0299c0042783463ee007a6dba0de70dcf6fc36ee (diff)
lib: lib-warnings.patch
Remove compile warnings for the lib directory Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by:
Diffstat (limited to 'lib/table.c')
-rw-r--r--lib/table.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/table.c b/lib/table.c
index 220e9b81ed..bd7023c12a 100644
--- a/lib/table.c
+++ b/lib/table.c
@@ -626,11 +626,8 @@ route_table_get_next_internal (const struct route_table *table,
struct prefix *p)
{
struct route_node *node, *tmp_node;
- u_char prefixlen;
int cmp;
- prefixlen = p->prefixlen;
-
node = table->top;
while (node)