Remove dead store (no bug, r=me)

This commit is contained in:
Luke Wagner 2010-04-07 19:02:47 -07:00
parent b0126e4074
commit e6880f1d41

View File

@ -160,14 +160,12 @@ ReportStrictSlot(JSContext *cx, uint32 slot)
static JSBool
obj_getSlot(JSContext *cx, JSObject *obj, jsval id, jsval *vp)
{
uint32 slot;
jsid propid;
JSAccessMode mode;
uintN attrs;
JSObject *pobj;
JSClass *clasp;
slot = (uint32) JSVAL_TO_INT(id);
if (id == INT_TO_JSVAL(JSSLOT_PROTO)) {
propid = ATOM_TO_JSID(cx->runtime->atomState.protoAtom);
mode = JSACC_PROTO;