aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-03-30 20:50:31 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-03-30 20:50:31 +0000
commit6fc151577e39ccfefc63342e6cbaf752238c0478 (patch)
treef9bc7a45f2f99158f06e1626b56d22c1647eb760 /src
parent3dcc7202d55dfa0ce57a69ba9117269e65494668 (diff)
pointless check for 'out' being non-NULL, since it was badly done and is
unnecessary - found by coverity.com scan
Diffstat (limited to 'src')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
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) {