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_clist.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bgpd/bgp_clist.c') diff --git a/bgpd/bgp_clist.c b/bgpd/bgp_clist.c index f75fc55b..a6ca1a46 100644 --- a/bgpd/bgp_clist.c +++ b/bgpd/bgp_clist.c @@ -836,6 +836,7 @@ community_list_init (void) return ch; } +#if 0 /* Terminate community-list. */ static void community_list_terminate (struct community_list_handler *ch) @@ -857,3 +858,4 @@ community_list_terminate (struct community_list_handler *ch) XFREE (MTYPE_COMMUNITY_LIST_HANDLER, ch); } +#endif -- cgit v1.2.3