net: Remove pointless initialization in makesock_addrinfo().
[paraslash.git] / net.c
diff --git a/net.c b/net.c
index d1c6eb510f5b971389968849b713f46995932ab6..d00895f50342a528f9e6008e886c766a8808820e 100644 (file)
--- a/net.c
+++ b/net.c
@@ -422,7 +422,7 @@ static int lookup_address(unsigned l4type, bool passive, const char *host,
 static int makesock_addrinfo(unsigned l4type, bool passive, struct addrinfo *ai,
                struct flowopts *fo)
 {
-       struct addrinfo *local, *remote, *src = NULL, *dst = NULL;
+       struct addrinfo *local, *remote, *src, *dst;
        int ret = -E_MAKESOCK, on = 1, sockfd = -1;
 
        if (passive) {