diff --git a/native/dns/src/resolver.h b/native/dns/src/resolver.h index 30274a9..bea25e1 100644 --- a/native/dns/src/resolver.h +++ b/native/dns/src/resolver.h @@ -25,7 +25,7 @@ namespace tc::dns { struct DNSResponseData { #ifdef WIN32 bool wide_string{false}; - DNS_QUERY_RESULT data; + DNS_QUERY_RESULT data{}; #else uint8_t* buffer{nullptr}; size_t length{0};