diff options
author | hasso <hasso> | 2004-10-08 10:17:22 +0200 |
---|---|---|
committer | hasso <hasso> | 2004-10-08 10:17:22 +0200 |
commit | eb1ce6059a00f3f0dd92c965aa5982907b54c00d (patch) | |
tree | ebd6583ba2f2f9909c25653d0349662e08c26ecf /ospfd/ospf_spf.c | |
parent | Argh, fix typo. (diff) | |
download | frr-eb1ce6059a00f3f0dd92c965aa5982907b54c00d.tar.xz frr-eb1ce6059a00f3f0dd92c965aa5982907b54c00d.zip |
Compiler warnings fixes round 1.
Diffstat (limited to 'ospfd/ospf_spf.c')
-rw-r--r-- | ospfd/ospf_spf.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ospfd/ospf_spf.c b/ospfd/ospf_spf.c index 0fd39fa17..c7c25f8d4 100644 --- a/ospfd/ospf_spf.c +++ b/ospfd/ospf_spf.c @@ -115,7 +115,7 @@ ospf_vertex_free (struct vertex *v) } 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 @@ ospf_vertex_lookup (struct list *vlist, struct in_addr id, int type) 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 @@ ospf_nexthop_calculation (struct ospf_area *area, 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, |