diff options
author | Pascal Mathis <mail@pascalmathis.com> | 2018-07-07 22:34:25 +0200 |
---|---|---|
committer | Pascal Mathis <mail@pascalmathis.com> | 2018-07-07 22:51:13 +0200 |
commit | 3f54c705ecc008a69ce95f0f2e61cf529b520ee4 (patch) | |
tree | 9a1eb3615cb5b876cca732867259933d2aff983f /bgpd/bgp_pbr.c | |
parent | Merge pull request #2630 from donaldsharp/hashables (diff) | |
download | frr-3f54c705ecc008a69ce95f0f2e61cf529b520ee4.tar.xz frr-3f54c705ecc008a69ce95f0f2e61cf529b520ee4.zip |
bgpd: Cleanup of bgp daemon code
This commit removes various parts of the bgpd implementation code which
are unused/useless, e.g. unused functions, unused variable
initializations, unused structs, ...
Signed-off-by: Pascal Mathis <mail@pascalmathis.com>
Diffstat (limited to 'bgpd/bgp_pbr.c')
-rw-r--r-- | bgpd/bgp_pbr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_pbr.c b/bgpd/bgp_pbr.c index 45ec21631..b5ddfd4b2 100644 --- a/bgpd/bgp_pbr.c +++ b/bgpd/bgp_pbr.c @@ -348,7 +348,7 @@ static bool bgp_pbr_extract_enumerate(struct bgp_pbr_match_val list[], void *valmask, uint8_t type_entry) { bool ret; - uint8_t unary_operator_val = unary_operator; + uint8_t unary_operator_val; bool double_check = false; if ((unary_operator & OPERATOR_UNARY_OR) && |