diff options
author | Florent Le Coz <louiz@louiz.org> | 2015-10-31 06:18:29 +0100 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2015-10-31 06:18:29 +0100 |
commit | ccd185d3f59b545e018bf3c50280e401a3715ab4 (patch) | |
tree | 3d8f221fa5888a543fbb3fceca2932a54db049be | |
parent | 34fc1d4010d23be947c00fc956f2bdded2374cee (diff) | |
download | biboumi-ccd185d3f59b545e018bf3c50280e401a3715ab4.tar.gz biboumi-ccd185d3f59b545e018bf3c50280e401a3715ab4.tar.bz2 biboumi-ccd185d3f59b545e018bf3c50280e401a3715ab4.tar.xz biboumi-ccd185d3f59b545e018bf3c50280e401a3715ab4.zip |
Remove a useless assignment
-rw-r--r-- | louloulibs/network/resolver.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/louloulibs/network/resolver.cpp b/louloulibs/network/resolver.cpp index cb6c445..9d6de23 100644 --- a/louloulibs/network/resolver.cpp +++ b/louloulibs/network/resolver.cpp @@ -155,7 +155,6 @@ void Resolver::fill_ares_addrinfo6(const struct hostent* hostent) addr->sin6_scope_id = 0; current->ai_addr = reinterpret_cast<struct sockaddr*>(addr); - current->ai_next = nullptr; current->ai_canonname = nullptr; current->ai_next = prev; |