From ea258ac5c13b1a9ea047810b1071da9c168959c0 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sun, 8 Sep 2013 04:18:07 +0000 Subject: [PATCH] net: Remove pointless initialization in makesock_addrinfo(). --- net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net.c b/net.c index d1c6eb51..d00895f5 100644 --- 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) { -- 2.39.5