Commit 6fc15157 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

pointless check for 'out' being non-NULL, since it was badly done and is

unnecessary - found by coverity.com scan
parent 3dcc7202
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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) {