From: Shreenidhi Shedi Date: Sun, 12 Jun 2022 18:06:37 +0000 (+0530) Subject: network: l2tp: initialize a to NULL X-Git-Tag: v252-rc1~814 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a4433b453218ccd5bc8c49ebbfad1df199bb8d4f;p=thirdparty%2Fsystemd.git network: l2tp: initialize a to NULL Fixes: CID#1475788 --- 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);