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

Commit b911ee03 authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Remove dead code in js_cryptcon_get() - reported by Coverity

Deuce said to just delete it. <shrug>
parent 55a5f22c
...@@ -812,8 +812,6 @@ js_cryptcon_get(JSContext *cx, JSObject *obj, jsid id, jsval *vp) ...@@ -812,8 +812,6 @@ js_cryptcon_get(JSContext *cx, JSObject *obj, jsid id, jsval *vp)
if ((p=(struct js_cryptcon_private_data *)JS_GetPrivate(cx,obj))==NULL) { if ((p=(struct js_cryptcon_private_data *)JS_GetPrivate(cx,obj))==NULL) {
return JS_TRUE; return JS_TRUE;
JS_ReportError(cx, getprivate_failure, WHERE);
return JS_FALSE;
} }
JS_IdToValue(cx, id, &idval); JS_IdToValue(cx, id, &idval);
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