summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/dns/dns_config_service_win.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/dns/dns_config_service_win.cc b/net/dns/dns_config_service_win.cc
index c64f651..af609f0 100644
--- a/net/dns/dns_config_service_win.cc
+++ b/net/dns/dns_config_service_win.cc
@@ -329,8 +329,7 @@ class DnsConfigServiceWin::ConfigReader : public SerialWorker {
// Should be called on WorkerPool.
success_ = false;
- DnsSystemSettings settings;
- memset(&settings, 0, sizeof(settings));
+ DnsSystemSettings settings = {};
settings.addresses = ReadIpHelper(GAA_FLAG_SKIP_ANYCAST |
GAA_FLAG_SKIP_UNICAST |
GAA_FLAG_SKIP_MULTICAST |