mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
cookie: remove unnecessary check for 'out != 0'
... as it will always be non-NULL at this point. Detected by Coverity: CID 1459009
This commit is contained in:
parent
6375b205a9
commit
7730d11578
@ -1579,7 +1579,7 @@ static int cookie_output(struct Curl_easy *data,
|
|||||||
free(array);
|
free(array);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(out && !use_stdout) {
|
if(!use_stdout) {
|
||||||
fclose(out);
|
fclose(out);
|
||||||
out = NULL;
|
out = NULL;
|
||||||
if(Curl_rename(tempstore, filename)) {
|
if(Curl_rename(tempstore, filename)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user