mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 15:43:55 +00:00
bgpd: Fix uninitialized compiler warning
Signed-off-by: Punith Kumar <punithkumar.spk@gmail.com>
(cherry picked from commit 73e770b7ad
)
This commit is contained in:
parent
3b71608cb9
commit
281c28cd40
@ -529,7 +529,7 @@ static uint32_t alloc_new_sid(struct bgp *bgp, uint32_t index,
|
|||||||
struct prefix_ipv6 *chunk;
|
struct prefix_ipv6 *chunk;
|
||||||
struct in6_addr sid_buf;
|
struct in6_addr sid_buf;
|
||||||
bool alloced = false;
|
bool alloced = false;
|
||||||
int label;
|
int label = 0;
|
||||||
|
|
||||||
if (!bgp || !sid)
|
if (!bgp || !sid)
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user