summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_spf.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2009-12-09 17:28:55 +0000
committerDavid Lamparter <equinox@diac24.net>2010-02-05 01:40:34 +0100
commitebada09457732536a890630e695cb6e4eb4d4d44 (patch)
treefa348c99cef57817919949e0a22c5b3e03a6a7a5 /ospfd/ospf_spf.c
parent75f1999b2c42042725b9ee782e135b0300cc384e (diff)
downloadquagga-ebada09457732536a890630e695cb6e4eb4d4d44.tar.bz2
quagga-ebada09457732536a890630e695cb6e4eb4d4d44.tar.xz
ospf: cleanup
OSPF compiler warnings: * remove dead code * avoid casting int to pointer (instead use unsigned long) (changes to ospf_ase.c removed by David Lamparter) Cc: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'ospfd/ospf_spf.c')
-rw-r--r--ospfd/ospf_spf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ospfd/ospf_spf.c b/ospfd/ospf_spf.c
index ca200222..89ce9f15 100644
--- a/ospfd/ospf_spf.c
+++ b/ospfd/ospf_spf.c
@@ -1045,6 +1045,7 @@ ospf_rtrs_free (struct route_table *rtrs)
route_table_finish (rtrs);
}
+#if 0
static void
ospf_rtrs_print (struct route_table *rtrs)
{
@@ -1104,6 +1105,7 @@ ospf_rtrs_print (struct route_table *rtrs)
zlog_debug ("ospf_rtrs_print() end");
}
+#endif
/* Calculating the shortest-path tree for an area. */
static void