mirror of
https://github.com/curl/curl.git
synced 2026-08-24 23:43:40 +03:00
lib: eliminate some dead code
This commit is contained in:
parent
684830cb2a
commit
c072bd4609
2 changed files with 4 additions and 4 deletions
|
|
@ -2057,13 +2057,12 @@ static CURLcode Curl_do_perform(struct SessionHandle *data)
|
|||
if(rc)
|
||||
res = rc;
|
||||
else
|
||||
retry = (bool)(newurl?TRUE:FALSE);
|
||||
retry = (newurl?TRUE:FALSE);
|
||||
|
||||
if(retry) {
|
||||
/* we know (newurl != NULL) at this point */
|
||||
res = CURLE_OK;
|
||||
follow = FOLLOW_RETRY;
|
||||
if (!newurl)
|
||||
res = CURLE_OUT_OF_MEMORY;
|
||||
}
|
||||
else if (res == CURLE_OK) {
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue