diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2009-12-09 17:28:55 +0000 |
---|---|---|
committer | David Lamparter <equinox@diac24.net> | 2010-02-05 01:40:34 +0100 |
commit | ebada09457732536a890630e695cb6e4eb4d4d44 (patch) | |
tree | fa348c99cef57817919949e0a22c5b3e03a6a7a5 /ospfd/ospf_vty.c | |
parent | 75f1999b2c42042725b9ee782e135b0300cc384e (diff) | |
download | quagga-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_vty.c')
-rw-r--r-- | ospfd/ospf_vty.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ospfd/ospf_vty.c b/ospfd/ospf_vty.c index adc822a7..9fa11193 100644 --- a/ospfd/ospf_vty.c +++ b/ospfd/ospf_vty.c @@ -3755,7 +3755,7 @@ show_as_external_lsa_detail (struct vty *vty, struct ospf_lsa *lsa) return 0; } -/* N.B. This function currently seems to be unused. */ +#if 0 static int show_as_external_lsa_stdvty (struct ospf_lsa *lsa) { @@ -3779,6 +3779,7 @@ show_as_external_lsa_stdvty (struct ospf_lsa *lsa) return 0; } +#endif /* Show AS-NSSA-LSA detail information. */ static int |