diff options
| author | Garrett D'Amore <garrett@damore.org> | 2024-11-30 20:33:12 -0500 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2024-11-30 20:33:12 -0500 |
| commit | 572c32ebaeea890c462c17504d12159c445de4bb (patch) | |
| tree | 3dce0075b04c4850359808ada594af02a01c9525 | |
| parent | 4fcf0ae3b1f2b88cc3943e8eed03e95802b42204 (diff) | |
| download | nng-572c32ebaeea890c462c17504d12159c445de4bb.tar.gz nng-572c32ebaeea890c462c17504d12159c445de4bb.tar.bz2 nng-572c32ebaeea890c462c17504d12159c445de4bb.zip | |
tests: incompletely initialized address in has_ipv6 check
| -rw-r--r-- | src/testing/util.c | 2 |
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; |
