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/ospfd.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/ospfd.c')
-rw-r--r-- | ospfd/ospfd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ospfd/ospfd.c b/ospfd/ospfd.c index a7553e73..c250fe9e 100644 --- a/ospfd/ospfd.c +++ b/ospfd/ospfd.c @@ -1205,6 +1205,7 @@ ospf_area_nssa_translator_role_set (struct ospf *ospf, struct in_addr area_id, return 1; } +#if 0 /* XXX: unused? Leave for symmetry? */ static int ospf_area_nssa_translator_role_unset (struct ospf *ospf, @@ -1222,6 +1223,7 @@ ospf_area_nssa_translator_role_unset (struct ospf *ospf, return 1; } +#endif int ospf_area_export_list_set (struct ospf *ospf, |