mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
clarify the code by initing newurl to NULL
This commit is contained in:
parent
10f2fa9c72
commit
6ede4ce79d
@ -1180,7 +1180,7 @@ static CURLMcode multi_runsingle(struct Curl_multi *multi,
|
||||
* may have unexpectedly died. If possible, send the connection
|
||||
* back to the CONNECT phase so we can try again.
|
||||
*/
|
||||
char *newurl;
|
||||
char *newurl = NULL;
|
||||
followtype follow=FOLLOW_NONE;
|
||||
CURLcode drc;
|
||||
bool retry = FALSE;
|
||||
@ -1378,7 +1378,7 @@ static CURLMcode multi_runsingle(struct Curl_multi *multi,
|
||||
Curl_done(&easy->easy_conn, easy->result, FALSE);
|
||||
}
|
||||
else if(TRUE == done) {
|
||||
char *newurl;
|
||||
char *newurl = NULL;
|
||||
bool retry = FALSE;
|
||||
followtype follow=FOLLOW_NONE;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user