From 6ede4ce79d740e9ea9430bba7654aa8d92c6926a Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 24 Aug 2009 08:41:17 +0000 Subject: [PATCH] clarify the code by initing newurl to NULL --- lib/multi.c | 4 ++-- 1 file 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;