diff options
author | Punith Kumar <punithkumar.spk@gmail.com> | 2022-02-15 23:07:19 +0100 |
---|---|---|
committer | Punith Kumar <punithkumar.spk@gmail.com> | 2022-02-15 23:07:19 +0100 |
commit | 73e770b7ade52ffc189eee91c2f60ba60e5865c1 (patch) | |
tree | 13badd55e86844c05afbbf8911b1e7e85d716b23 /bgpd | |
parent | Merge pull request #10577 from donaldsharp/speeling (diff) | |
download | frr-73e770b7ade52ffc189eee91c2f60ba60e5865c1.tar.xz frr-73e770b7ade52ffc189eee91c2f60ba60e5865c1.zip |
bgpd: Fix uninitialized compiler warning
Signed-off-by: Punith Kumar <punithkumar.spk@gmail.com>
Diffstat (limited to 'bgpd')
-rw-r--r-- | bgpd/bgp_mplsvpn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_mplsvpn.c b/bgpd/bgp_mplsvpn.c index b5012e458..eafc37f20 100644 --- a/bgpd/bgp_mplsvpn.c +++ b/bgpd/bgp_mplsvpn.c @@ -526,7 +526,7 @@ static uint32_t alloc_new_sid(struct bgp *bgp, uint32_t index, struct prefix_ipv6 *chunk; struct in6_addr sid_buf; bool alloced = false; - int label; + int label = 0; if (!bgp || !sid) return false; |