summaryrefslogtreecommitdiffstats
path: root/src/network/netdev/l2tp-tunnel.c
diff options
context:
space:
mode:
authorShreenidhi Shedi <sshedi@vmware.com>2022-06-12 20:06:37 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-06-13 01:41:52 +0200
commita4433b453218ccd5bc8c49ebbfad1df199bb8d4f (patch)
tree13390b6177939ae6ff5e3946393a4556f32a9722 /src/network/netdev/l2tp-tunnel.c
parentMerge pull request #23707 from yuwata/dns_service_split (diff)
downloadsystemd-a4433b453218ccd5bc8c49ebbfad1df199bb8d4f.tar.xz
systemd-a4433b453218ccd5bc8c49ebbfad1df199bb8d4f.zip
network: l2tp: initialize a to NULL
Fixes: CID#1475788
Diffstat (limited to '')
-rw-r--r--src/network/netdev/l2tp-tunnel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/netdev/l2tp-tunnel.c b/src/network/netdev/l2tp-tunnel.c
index dcb70bfef2..c38b9dc312 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);