1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05: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:
Daniel Stenberg 2007-03-30 20:50:31 +00:00
parent 3dcc7202d5
commit 6fc151577e

View File

@ -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) {