From 1d6b22b5f07243cc3c0df97a7140e18bceafe9cb Mon Sep 17 00:00:00 2001 From: Jiwoo Park Date: Mon, 30 Oct 2023 20:13:40 +0900 Subject: [PATCH] Fix C6001 (#1701) --- httplib.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/httplib.h b/httplib.h index a4d4412..1c78c35 100644 --- a/httplib.h +++ b/httplib.h @@ -8659,8 +8659,8 @@ SSLClient::verify_host_with_subject_alt_name(X509 *server_cert) const { auto type = GEN_DNS; - struct in6_addr addr6; - struct in_addr addr; + struct in6_addr addr6 {}; + struct in_addr addr {}; size_t addr_len = 0; #ifndef __MINGW32__