summaryrefslogtreecommitdiff
path: root/louloulibs/network
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2015-10-31 06:18:29 +0100
committerFlorent Le Coz <louiz@louiz.org>2015-10-31 06:18:29 +0100
commitccd185d3f59b545e018bf3c50280e401a3715ab4 (patch)
tree3d8f221fa5888a543fbb3fceca2932a54db049be /louloulibs/network
parent34fc1d4010d23be947c00fc956f2bdded2374cee (diff)
downloadbiboumi-ccd185d3f59b545e018bf3c50280e401a3715ab4.tar.gz
biboumi-ccd185d3f59b545e018bf3c50280e401a3715ab4.tar.bz2
biboumi-ccd185d3f59b545e018bf3c50280e401a3715ab4.tar.xz
biboumi-ccd185d3f59b545e018bf3c50280e401a3715ab4.zip
Remove a useless assignment
Diffstat (limited to 'louloulibs/network')
-rw-r--r--louloulibs/network/resolver.cpp1
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;