Commit 7117b4d8 authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Probably doesn't resolve the Coverity issue

But good practice anyway
parent 4ec5647c
......@@ -496,7 +496,7 @@ js_logout(JSContext *cx, uintN argc, jsval *arglist)
JS_RESUMEREQUEST(cx, rc);
val = BOOLEAN_TO_JSVAL(JS_FALSE);
JS_SetProperty(cx, obj, "logged_in", &val);
(void)JS_SetProperty(cx, obj, "logged_in", &val);
JS_SET_RVAL(cx, arglist,BOOLEAN_TO_JSVAL(JS_TRUE));
......
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