mirror of
https://github.com/curl/curl.git
synced 2025-09-13 15:42:39 +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
|
@ -455,12 +455,9 @@ static CURLcode file_do(struct Curl_easy *data, bool *done)
|
||||||
fstated = TRUE;
|
fstated = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(fstated && !data->state.range && data->set.timecondition) {
|
if(fstated && !data->state.range && data->set.timecondition &&
|
||||||
if(!Curl_meets_timecondition(data, data->info.filetime)) {
|
!Curl_meets_timecondition(data, data->info.filetime))
|
||||||
*done = TRUE;
|
return CURLE_OK;
|
||||||
return CURLE_OK;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if(fstated) {
|
if(fstated) {
|
||||||
time_t filetime;
|
time_t filetime;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user