From: Andre Noll Date: Sun, 8 Sep 2013 04:18:07 +0000 (+0000) Subject: net: Remove pointless initialization in makesock_addrinfo(). X-Git-Tag: v0.5.2~11^2~11 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=ea258ac5c13b1a9ea047810b1071da9c168959c0;ds=sidebyside net: Remove pointless initialization in makesock_addrinfo(). --- 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) {