Index: components/wifi/wifi_service_win.cc |
diff --git a/components/wifi/wifi_service_win.cc b/components/wifi/wifi_service_win.cc |
index fe2d308255977f276aa1bc9e3d327419c7b92217..972406b26416fcada4c6d57f36ef2d344aa603bd 100644 |
--- a/components/wifi/wifi_service_win.cc |
+++ b/components/wifi/wifi_service_win.cc |
@@ -1708,7 +1708,6 @@ DWORD WiFiServiceImpl::SetProfile(bool shared, |
} |
bool WiFiServiceImpl::HaveProfile(const std::string& network_guid) { |
- DWORD error = ERROR_SUCCESS; |
std::string profile_xml; |
return GetProfile(network_guid, false, &profile_xml) == ERROR_SUCCESS; |
} |