summaryrefslogtreecommitdiffstats
path: root/src/libsystemd-network/icmp6-util.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2021-02-23 15:13:21 +0100
committerLennart Poettering <lennart@poettering.net>2021-02-23 15:45:15 +0100
commitd9a650bbe80f88c656d1574ebca9b1c062cf4932 (patch)
tree79af9fd74844589ad63b5f0c5e0592b6cbbccb53 /src/libsystemd-network/icmp6-util.c
parentdissect-image: initially fds[] array fully (diff)
downloadsystemd-d9a650bbe80f88c656d1574ebca9b1c062cf4932.tar.xz
systemd-d9a650bbe80f88c656d1574ebca9b1c062cf4932.zip
icmp6-util: add missing variable initialization
Coverity 1446712
Diffstat (limited to 'src/libsystemd-network/icmp6-util.c')
-rw-r--r--src/libsystemd-network/icmp6-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-network/icmp6-util.c b/src/libsystemd-network/icmp6-util.c
index d079ad40e9..67c6b55d84 100644
--- a/src/libsystemd-network/icmp6-util.c
+++ b/src/libsystemd-network/icmp6-util.c
@@ -162,7 +162,7 @@ int icmp6_receive(int fd, void *buffer, size_t size, struct in6_addr *ret_dst,
};
struct cmsghdr *cmsg;
struct in6_addr addr = {};
- triple_timestamp t;
+ triple_timestamp t = {};
ssize_t len;
iov = IOVEC_MAKE(buffer, size);