Compiler warnings fixes round 1.
diff --git a/ospfd/ospf_spf.c b/ospfd/ospf_spf.c
index 0fd39fa..c7c25f8 100644
--- a/ospfd/ospf_spf.c
+++ b/ospfd/ospf_spf.c
@@ -115,7 +115,7 @@
}
void
-ospf_vertex_dump(char *msg, struct vertex *v,
+ospf_vertex_dump(const char *msg, struct vertex *v,
int print_nexthops, int print_children)
{
if ( ! IS_DEBUG_OSPF_EVENT)
@@ -245,8 +245,7 @@
int
ospf_lsa_has_link (struct lsa_header *w, struct lsa_header *v)
{
- int i;
- int length;
+ unsigned int i, length;
struct router_lsa *rl;
struct network_lsa *nl;
@@ -494,7 +493,6 @@
if (IS_DEBUG_OSPF_EVENT)
{
char buf1[BUFSIZ];
- char buf2[BUFSIZ];
zlog_info("ospf_nexthop_calculation(): considering link "
"type %d link_id %s link_data %s",
l->m[0].type,