Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit 39c0b830 authored by Rob Swindell's avatar Rob Swindell 💬

Remove unnecessary NULL check (caught by Coverity)

parent 4187942a
Pipeline #1389 passed with stage
in 9 minutes and 45 seconds
...@@ -1026,7 +1026,7 @@ long js_exec(const char *fname, const char* buf, char** args) ...@@ -1026,7 +1026,7 @@ long js_exec(const char *fname, const char* buf, char** args)
memcpy(js_buf+js_buflen,line,len); memcpy(js_buf+js_buflen,line,len);
js_buflen+=len; js_buflen+=len;
} }
if(fp!=NULL && fp!=stdin) if(fp!=stdin)
fclose(fp); fclose(fp);
} }
start=xp_timer(); start=xp_timer();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment