From 8ffe6f5b5761aa77b3e5eae236475b173e9efd2f Mon Sep 17 00:00:00 2001 From: Marcel Raad Date: Fri, 4 Jul 2014 18:26:57 +0200 Subject: compiler warnings: potentially uninitialized variables ... pointed out by MSVC2013 Bug: http://curl.haxx.se/bug/view.cgi?id=1391 --- lib/connect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/connect.c') diff --git a/lib/connect.c b/lib/connect.c index de78c33e2..826ec251d 100644 --- a/lib/connect.c +++ b/lib/connect.c @@ -551,7 +551,7 @@ static CURLcode trynextip(struct connectdata *conn, if(sockindex == FIRSTSOCKET) { Curl_addrinfo *ai = NULL; - int family; + int family = AF_UNSPEC; if(conn->tempaddr[tempindex]) { /* find next address in the same protocol family */ -- cgit v1.2.3