mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05: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
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user