From 1cd80845dc5262ff7d3d38deb1921f0b8390f4df Mon Sep 17 00:00:00 2001 From: hasso Date: Thu, 7 Oct 2004 20:07:40 +0000 Subject: No warnings here any more. --- isisd/isis_spf.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'isisd/isis_spf.c') diff --git a/isisd/isis_spf.c b/isisd/isis_spf.c index 1c32f8fc..05015430 100644 --- a/isisd/isis_spf.c +++ b/isisd/isis_spf.c @@ -174,7 +174,7 @@ vtype2string (enum vertextype vtype) return NULL; /* Not reached */ } -char * +const char * vid2string (struct isis_vertex *vertex, u_char * buff) { switch (vertex->type) @@ -650,7 +650,7 @@ lspfragloop: if (fragnode == NULL) fragnode = listhead (lsp->lspu.frags); else - fragnode = nextnode (fragnode); + nextnode (fragnode); if (fragnode) { @@ -703,7 +703,7 @@ pseudofragloop: if (fragnode == NULL) fragnode = listhead (lsp->lspu.frags); else - fragnode = nextnode (fragnode); + nextnode (fragnode); if (fragnode) { @@ -800,7 +800,7 @@ isis_spf_preload_tent (struct isis_spftree *spftree, adj = getdata (anode); if (!speaks (&adj->nlpids, family)) { - anode = nextnode (anode); + nextnode (anode); continue; } switch (adj->sys_type) @@ -834,7 +834,7 @@ isis_spf_preload_tent (struct isis_spftree *spftree, default: zlog_warn ("isis_spf_preload_tent unknow adj type"); } - anode = nextnode (anode); + nextnode (anode); } list_delete (adj_list); /* -- cgit v1.2.1