Bug 710996 - Double-assignment in JS_GetValidFrameCalleeObject(). r=jorendorff

This commit is contained in:
Felix Fung 2011-12-15 00:28:11 -08:00
parent c005cf68d7
commit 14c8124b0a

View File

@ -670,7 +670,6 @@ JS_GetValidFrameCalleeObject(JSContext *cx, JSStackFrame *fp, jsval *vp)
if (!Valueify(fp)->getValidCalleeObject(cx, &v))
return false;
*vp = v.isObject() ? v : JSVAL_VOID;
*vp = v;
return true;
}