mirror of
https://github.com/curl/curl.git
synced 2026-08-25 01:03:31 +03: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue