mirror of
https://github.com/curl/curl.git
synced 2026-07-23 16:17:21 +03:00
connect.c: Fixed compilation warning
warning: 'res' may be used uninitialized in this function
This commit is contained in:
parent
5107d66b2e
commit
610a55388b
1 changed files with 1 additions and 1 deletions
|
|
@ -1081,7 +1081,7 @@ CURLcode Curl_connecthost(struct connectdata *conn, /* context */
|
|||
{
|
||||
struct SessionHandle *data = conn->data;
|
||||
struct timeval before = Curl_tvnow();
|
||||
CURLcode res;
|
||||
CURLcode res = CURLE_COULDNT_CONNECT;
|
||||
|
||||
long timeout_ms = Curl_timeleft(data, &before, TRUE);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue