diff options
author | paul <paul> | 2006-01-19 20:16:55 +0000 |
---|---|---|
committer | paul <paul> | 2006-01-19 20:16:55 +0000 |
commit | e8e1946edf6ba87ef53832cdceccc39d7f0c3f26 (patch) | |
tree | fcdaf92bf4129a8a58825bd21ae841a6b3b2bda8 /bgpd/bgp_clist.c | |
parent | 779adb0147cfff1a831b08853976342ad2110fcd (diff) | |
download | quagga-e8e1946edf6ba87ef53832cdceccc39d7f0c3f26.tar.bz2 quagga-e8e1946edf6ba87ef53832cdceccc39d7f0c3f26.tar.xz |
[compiler] miscellaneous trivial compiler warning fixes
2006-01-19 Paul Jakma <paul.jakma@sun.com>
* (general) various miscellaneous compiler warning fixes.
Remove redundant break statements from switch clauses
which return.
return from main, not exit, cause it annoys SOS.
Remove stray semi-colons which cause empty-statement
warnings.
* zebra/main.c: (sighup) remove private declaration of external
function.
Diffstat (limited to 'bgpd/bgp_clist.c')
-rw-r--r-- | bgpd/bgp_clist.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/bgpd/bgp_clist.c b/bgpd/bgp_clist.c index e5b4344e..f75fc55b 100644 --- a/bgpd/bgp_clist.c +++ b/bgpd/bgp_clist.c @@ -41,7 +41,6 @@ community_list_master_lookup (struct community_list_handler *ch, int master) { case COMMUNITY_LIST_MASTER: return &ch->community_list; - break; case EXTCOMMUNITY_LIST_MASTER: return &ch->extcommunity_list; } |