mirror of
https://github.com/curl/curl.git
synced 2026-05-14 18:16:20 +03:00
pointless check for 'out' being non-NULL, since it was badly done and is
unnecessary - found by coverity.com scan
This commit is contained in:
parent
3dcc7202d5
commit
6fc151577e
1 changed files with 1 additions and 1 deletions
|
|
@ -2799,7 +2799,7 @@ static size_t my_fwrite(void *buffer, size_t sz, size_t nmemb, void *stream)
|
|||
struct OutStruct *out=(struct OutStruct *)stream;
|
||||
struct Configurable *config = out->config;
|
||||
|
||||
if(out && !out->stream) {
|
||||
if(!out->stream) {
|
||||
/* open file for writing */
|
||||
out->stream=fopen(out->filename, "wb");
|
||||
if(!out->stream) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue