Remove a useless assignment
This commit is contained in:
1 parent
34fc1d4010
commit
ccd185d3f5
1 file changed
-1
@@ -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;
|
||||||
|
|||||||
Reference in new issue
Block a user