Remove a useless assignment

This commit is contained in:
Florent Le Coz
2015-10-31 06:18:29 +01:00
parent 34fc1d4010
commit ccd185d3f5
-1
View File
@@ -155,7 +155,6 @@ void Resolver::fill_ares_addrinfo6(const struct hostent* hostent)
addr->sin6_scope_id = 0; addr->sin6_scope_id = 0;
current->ai_addr = reinterpret_cast<struct sockaddr*>(addr); current->ai_addr = reinterpret_cast<struct sockaddr*>(addr);
current->ai_next = nullptr;
current->ai_canonname = nullptr; current->ai_canonname = nullptr;
current->ai_next = prev; current->ai_next = prev;