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
@ -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…
Reference in New Issue
Block a user