Commit 6ede4ce7 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

clarify the code by initing newurl to NULL

parent 10f2fa9c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;