compiler warnings: potentially uninitialized variables
... pointed out by MSVC2013 Bug: http://curl.haxx.se/bug/view.cgi?id=1391
This commit is contained in:

committed by
Daniel Stenberg

parent
ca2aa61b66
commit
8ffe6f5b57
@@ -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 */
|
||||
|
Reference in New Issue
Block a user