summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_route.c
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-05-28 10:21:51 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-05-28 10:21:51 -0700
commit489d3935b90bc6f1a0b866f321c4d1fc9f480d8b (patch)
tree8ab28fbadde2a9d1652f5f8714066f73799928ea /bgpd/bgp_route.c
parent078fe1a5228485101a19caba39dab70ea12179ae (diff)
downloadquagga-489d3935b90bc6f1a0b866f321c4d1fc9f480d8b.tar.bz2
quagga-489d3935b90bc6f1a0b866f321c4d1fc9f480d8b.tar.xz
fix compiler warnings
Fix easy compiler warnings about unused code by marking them with #if 0 Add one missing printf argument.
Diffstat (limited to 'bgpd/bgp_route.c')
-rw-r--r--bgpd/bgp_route.c2
1 files changed, 2 insertions, 0 deletions
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