From 489d3935b90bc6f1a0b866f321c4d1fc9f480d8b Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Wed, 28 May 2008 10:21:51 -0700 Subject: fix compiler warnings Fix easy compiler warnings about unused code by marking them with #if 0 Add one missing printf argument. --- bgpd/bgp_route.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bgpd/bgp_route.c') diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c index 4fbc4bab..f8eb7f7f 100644 --- a/bgpd/bgp_route.c +++ b/bgpd/bgp_route.c @@ -10959,6 +10959,7 @@ bgp_distance_unset (struct vty *vty, const char *distance_str, return CMD_SUCCESS; } +#if 0 static void bgp_distance_reset () { @@ -10975,6 +10976,7 @@ bgp_distance_reset () bgp_unlock_node (rn); } } +#endif /* Apply BGP information to distance method. */ u_char -- cgit v1.2.3