aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2024-11-30 20:33:12 -0500
committerGarrett D'Amore <garrett@damore.org>2024-11-30 20:33:12 -0500
commit572c32ebaeea890c462c17504d12159c445de4bb (patch)
tree3dce0075b04c4850359808ada594af02a01c9525 /src
parent4fcf0ae3b1f2b88cc3943e8eed03e95802b42204 (diff)
downloadnng-572c32ebaeea890c462c17504d12159c445de4bb.tar.gz
nng-572c32ebaeea890c462c17504d12159c445de4bb.tar.bz2
nng-572c32ebaeea890c462c17504d12159c445de4bb.zip
tests: incompletely initialized address in has_ipv6 check
Diffstat (limited to 'src')
-rw-r--r--src/testing/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testing/util.c b/src/testing/util.c
index 33e5da89..3dbd8879 100644
--- a/src/testing/util.c
+++ b/src/testing/util.c
@@ -175,7 +175,7 @@ nuts_sleep(int msec)
bool
nuts_has_ipv6(void)
{
- nng_sockaddr sa;
+ nng_sockaddr sa = { 0 };
nng_udp *u;
int rv;