diff --git a/lib/cookie.c b/lib/cookie.c index cf18745bc..69bc04260 100644 --- a/lib/cookie.c +++ b/lib/cookie.c @@ -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)) {