mirror of
https://github.com/curl/curl.git
synced 2026-07-16 14:47:16 +03:00
clarify the code by initing newurl to NULL
This commit is contained in:
parent
10f2fa9c72
commit
6ede4ce79d
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue