diff options
author | paul <paul> | 2006-01-19 21:16:55 +0100 |
---|---|---|
committer | paul <paul> | 2006-01-19 21:16:55 +0100 |
commit | e8e1946edf6ba87ef53832cdceccc39d7f0c3f26 (patch) | |
tree | fcdaf92bf4129a8a58825bd21ae841a6b3b2bda8 /bgpd/bgp_community.c | |
parent | [ospfd] Add support for oversized LSAs. (diff) | |
download | frr-e8e1946edf6ba87ef53832cdceccc39d7f0c3f26.tar.xz frr-e8e1946edf6ba87ef53832cdceccc39d7f0c3f26.zip |
[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_community.c')
-rw-r--r-- | bgpd/bgp_community.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/bgpd/bgp_community.c b/bgpd/bgp_community.c index 35e644b1d..3033db14e 100644 --- a/bgpd/bgp_community.c +++ b/bgpd/bgp_community.c @@ -594,7 +594,6 @@ community_str2com (const char *str) default: if (com) community_free (com); - return NULL; break; } } |