mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-29 21:01:42 +00:00
zebra: Fix clang SA warnings
The mr value was not being initialized to anything and as such could contain garbage. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
deab75f73a
commit
f0242f68c9
@ -541,7 +541,10 @@ netlink_route_change_read_multicast (struct sockaddr_nl *snl, struct nlmsghdr *h
|
||||
if (mroute)
|
||||
m = mroute;
|
||||
else
|
||||
{
|
||||
memset (&mr, 0, sizeof (mr));
|
||||
m = &mr;
|
||||
}
|
||||
|
||||
rtm = NLMSG_DATA (h);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user