Unverified Commit cbb22cb7 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

url: remove unncessary NULL-check

Since 'conn' won't be NULL in there and we also access the pointer in
there without the check.

Coverity CID 1420610
parent 3962a3cf
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -7221,9 +7221,8 @@ CURLcode Curl_init_do(struct Curl_easy *data, struct connectdata *conn)
{
  struct SingleRequest *k = &data->req;

  if(conn)
  conn->bits.do_more = FALSE; /* by default there's no curl_do_more() to
                                 * use */
                                 use */

  data->state.done = FALSE; /* *_done() is not called yet */
  data->state.expect100header = FALSE;