mirror of
https://github.com/curl/curl.git
synced 2026-05-30 06:47:28 +03:00
file: remove useless assignment
This code assigned the variable the same value it already had. Spotted by CodeSonar Closes #13425
This commit is contained in:
parent
d54b0adbad
commit
51a3b9f8b3
1 changed files with 3 additions and 6 deletions
|
|
@ -455,12 +455,9 @@ static CURLcode file_do(struct Curl_easy *data, bool *done)
|
|||
fstated = TRUE;
|
||||
}
|
||||
|
||||
if(fstated && !data->state.range && data->set.timecondition) {
|
||||
if(!Curl_meets_timecondition(data, data->info.filetime)) {
|
||||
*done = TRUE;
|
||||
return CURLE_OK;
|
||||
}
|
||||
}
|
||||
if(fstated && !data->state.range && data->set.timecondition &&
|
||||
!Curl_meets_timecondition(data, data->info.filetime))
|
||||
return CURLE_OK;
|
||||
|
||||
if(fstated) {
|
||||
time_t filetime;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue