summaryrefslogtreecommitdiff
path: root/ospf6d/ospf6_spf.c
diff options
context:
space:
mode:
authorDenis Ovsienko <infrastation@yandex.ru>2011-08-27 22:19:34 +0400
committerDenis Ovsienko <infrastation@yandex.ru>2011-08-27 22:19:34 +0400
commit330835409fb82522082eba4d4819467e5ab2de84 (patch)
tree66b4f84f994d2fe4910f6cc7dfa86171e0ec720c /ospf6d/ospf6_spf.c
parent68aa0c58717b3f2648533b54fb4ec689fd2d7c5c (diff)
ospf6d: address more trivial compiler warnings
* ospf6_main.c: include required headers * ospf6_asbr.h: idem * ospf6_spf.c * ospf6_spf_install(): remove unused variables
Diffstat (limited to 'ospf6d/ospf6_spf.c')
-rw-r--r--ospf6d/ospf6_spf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ospf6d/ospf6_spf.c b/ospf6d/ospf6_spf.c
index 04367f08..e78f7f6a 100644
--- a/ospf6d/ospf6_spf.c
+++ b/ospf6d/ospf6_spf.c
@@ -282,8 +282,7 @@ ospf6_spf_install (struct ospf6_vertex *v,
{
struct ospf6_route *route;
int i, j;
- struct ospf6_vertex *prev, *w;
- struct listnode *node, *nnode;
+ struct ospf6_vertex *prev;
if (IS_OSPF6_DEBUG_SPF (PROCESS))
zlog_debug ("SPF install %s hops %d cost %d",