mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-27 13:46:45 +00:00
Merge pull request #2803 from opensourcerouting/pimd-nbr-uninit-warning
pimd: fix bogus uninitialized warning
This commit is contained in:
commit
f1f1903fb8
@ -352,7 +352,7 @@ int pim_ecmp_nexthop_search(struct pim_instance *pim,
|
|||||||
struct pim_nexthop *nexthop, struct prefix *src,
|
struct pim_nexthop *nexthop, struct prefix *src,
|
||||||
struct prefix *grp, int neighbor_needed)
|
struct prefix *grp, int neighbor_needed)
|
||||||
{
|
{
|
||||||
struct pim_neighbor *nbrs[MULTIPATH_NUM], *nbr;
|
struct pim_neighbor *nbrs[MULTIPATH_NUM], *nbr = NULL;
|
||||||
struct interface *ifps[MULTIPATH_NUM];
|
struct interface *ifps[MULTIPATH_NUM];
|
||||||
struct nexthop *nh_node = NULL;
|
struct nexthop *nh_node = NULL;
|
||||||
ifindex_t first_ifindex;
|
ifindex_t first_ifindex;
|
||||||
|
Loading…
Reference in New Issue
Block a user