From a20526cc30d68ca5c4c7951238faafa8969a31c1 Mon Sep 17 00:00:00 2001 From: Chris Hall Date: Fri, 16 Apr 2010 14:29:17 +0100 Subject: Removing compiler warnings. Removed nearly 100 compiler warnings in the various routing daemons which now clean compile. Removed one warning in vty.c, which was obscured by the other warnings. SO... this commit corrects the previous one. --- ospfd/ospf_route.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'ospfd/ospf_route.c') diff --git a/ospfd/ospf_route.c b/ospfd/ospf_route.c index 267237b8..f1251e99 100644 --- a/ospfd/ospf_route.c +++ b/ospfd/ospf_route.c @@ -274,7 +274,11 @@ ospf_route_install (struct ospf *ospf, struct route_table *rt) static void ospf_intra_route_add (struct route_table *rt, struct vertex *v, - struct ospf_area *area) + struct ospf_area *area) + __attribute__((unused)) ; +static void +ospf_intra_route_add (struct route_table *rt, struct vertex *v, + struct ospf_area *area) { struct route_node *rn; struct ospf_route *or; -- cgit v1.2.3