diff --git a/lib/connect.c b/lib/connect.c index de78c33e204a0636633114723040c3d4321e7612..826ec251d997c032142de178b17e6f5b712f9c0b 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 */ diff --git a/lib/easy.c b/lib/easy.c index 078e9cb1e4178555309d3694e24f8240c81b2696..160712e8f38e5ba9590413848473be0ce9083efa 100644 --- a/lib/easy.c +++ b/lib/easy.c @@ -674,7 +674,7 @@ static CURLcode easy_transfer(CURLM *multi) curl_multi_wait() without any filedescriptors */ while(!done && !mcode) { - int still_running; + int still_running = 0; int ret; before = curlx_tvnow(); diff --git a/lib/url.c b/lib/url.c index 5209c8dce1544225eddf1edc323c60930f2d7c43..e09a11a43e8b09152f3def9a5e5779b93b6b89bc 100644 --- a/lib/url.c +++ b/lib/url.c @@ -5137,7 +5137,7 @@ static CURLcode create_conn(struct SessionHandle *data, char *proxy = NULL; bool prot_missing = FALSE; bool no_connections_available = FALSE; - bool force_reuse; + bool force_reuse = FALSE; size_t max_host_connections = Curl_multi_max_host_connections(data->multi); size_t max_total_connections = Curl_multi_max_total_connections(data->multi);