network: l2tp: initialize a to NULL

Fixes: CID#1475788
This commit is contained in:
Shreenidhi Shedi 2022-06-12 23:36:37 +05:30 committed by Yu Watanabe
parent ef55efe823
commit a4433b4532

View File

@ -280,7 +280,7 @@ static int link_get_l2tp_local_address(Link *link, L2tpTunnel *t, union in_addr_
static int l2tp_get_local_address(NetDev *netdev, union in_addr_union *ret) {
Link *link = NULL;
L2tpTunnel *t;
Address *a;
Address *a = NULL;
int r;
assert(netdev);