aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/multi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/multi.c b/lib/multi.c
index 686372ad1..3525af65b 100644
--- a/lib/multi.c
+++ b/lib/multi.c
@@ -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;