From a4433b453218ccd5bc8c49ebbfad1df199bb8d4f Mon Sep 17 00:00:00 2001 From: Shreenidhi Shedi Date: Sun, 12 Jun 2022 23:36:37 +0530 Subject: [PATCH] network: l2tp: initialize a to NULL Fixes: CID#1475788 --- src/network/netdev/l2tp-tunnel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network/netdev/l2tp-tunnel.c b/src/network/netdev/l2tp-tunnel.c index dcb70bfef2d..c38b9dc3129 100644 --- a/src/network/netdev/l2tp-tunnel.c +++ b/src/network/netdev/l2tp-tunnel.c @@ -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); -- 2.47.3