From 6fc151577e39ccfefc63342e6cbaf752238c0478 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 30 Mar 2007 20:50:31 +0000 Subject: [PATCH] pointless check for 'out' being non-NULL, since it was badly done and is unnecessary - found by coverity.com scan --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 56bc1c7bf..b4b3bfd8d 100644 --- a/src/main.c +++ b/src/main.c @@ -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) {