mirror of
https://github.com/curl/curl.git
synced 2026-04-24 23:02:13 +03:00
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
This commit is contained in:
parent
3962a3cfcb
commit
cbb22cb76d
1 changed files with 2 additions and 3 deletions
|
|
@ -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 */
|
||||
conn->bits.do_more = FALSE; /* by default there's no curl_do_more() to
|
||||
use */
|
||||
|
||||
data->state.done = FALSE; /* *_done() is not called yet */
|
||||
data->state.expect100header = FALSE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue