From 222b43f1d038543cd2a367c37cc73b828e09c44d Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Tue, 29 Oct 2019 18:11:22 +0100 Subject: [PATCH] best practises --- native/dns/src/resolver.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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};