mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-28 02:20:43 +00:00
bgpd: Fix value stored to group never being read
SA Reports: bgpd/bgp_rpki.c:1085:24: warning: Value stored to 'group' during its initialization is never read [deadcode.DeadStores] struct rtr_mgr_group *group = get_connected_group(rpki_vrf); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
parent
0f7b5fcffb
commit
863e6ddf11
@ -1082,7 +1082,7 @@ static void print_prefix_table(struct vty *vty, struct rpki_vrf *rpki_vrf,
|
||||
|
||||
unsigned int number_of_ipv4_prefixes = 0;
|
||||
unsigned int number_of_ipv6_prefixes = 0;
|
||||
struct rtr_mgr_group *group = get_connected_group(rpki_vrf);
|
||||
struct rtr_mgr_group *group;
|
||||
json_object *json_records = NULL;
|
||||
|
||||
if (!rpki_vrf)
|
||||
|
Loading…
Reference in New Issue
Block a user