Bug 505901 PutProperty has useless null check in !targetprop else case
r=gal
This commit is contained in:
@@ -4170,8 +4170,6 @@ PutProperty(JSContext *cx, JSObject *obj, jsval id, jsval *vp)
|
||||
goto bad;
|
||||
} else {
|
||||
nameobj = targetprop;
|
||||
if (!nameobj)
|
||||
goto bad;
|
||||
if (OBJ_GET_CLASS(cx, nameobj) == &js_AttributeNameClass) {
|
||||
/*
|
||||
* 2(c)(iii)(1-3).
|
||||
|
||||
Reference in New Issue
Block a user