mirror of
https://github.com/moparisthebest/curl
synced 2024-12-24 00:58:48 -05: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);
|
||||
}
|
||||
|
||||
if(out && !use_stdout) {
|
||||
if(!use_stdout) {
|
||||
fclose(out);
|
||||
out = NULL;
|
||||
if(Curl_rename(tempstore, filename)) {
|
||||
|
Loading…
Reference in New Issue
Block a user