No warnings here any more.
diff --git a/isisd/isis_spf.c b/isisd/isis_spf.c
index 1c32f8f..0501543 100644
--- a/isisd/isis_spf.c
+++ b/isisd/isis_spf.c
@@ -174,7 +174,7 @@
return NULL; /* Not reached */
}
-char *
+const char *
vid2string (struct isis_vertex *vertex, u_char * buff)
{
switch (vertex->type)
@@ -650,7 +650,7 @@
if (fragnode == NULL)
fragnode = listhead (lsp->lspu.frags);
else
- fragnode = nextnode (fragnode);
+ nextnode (fragnode);
if (fragnode)
{
@@ -703,7 +703,7 @@
if (fragnode == NULL)
fragnode = listhead (lsp->lspu.frags);
else
- fragnode = nextnode (fragnode);
+ nextnode (fragnode);
if (fragnode)
{
@@ -800,7 +800,7 @@
adj = getdata (anode);
if (!speaks (&adj->nlpids, family))
{
- anode = nextnode (anode);
+ nextnode (anode);
continue;
}
switch (adj->sys_type)
@@ -834,7 +834,7 @@
default:
zlog_warn ("isis_spf_preload_tent unknow adj type");
}
- anode = nextnode (anode);
+ nextnode (anode);
}
list_delete (adj_list);
/*