Fix compile bustage from changeset b7ee9263cf96. Trivial fix. r=red.

This commit is contained in:
Jason Orendorff 2009-09-09 18:52:40 -05:00
parent c8f686672d
commit 1a7723b3aa

View File

@ -1995,7 +1995,8 @@ obj_getOwnPropertyDescriptor(JSContext *cx, uintN argc, jsval *vp)
goto drop_property; goto drop_property;
/* We have our own property, so start creating the descriptor. */ /* We have our own property, so start creating the descriptor. */
JSObject *desc = js_NewObject(cx, &js_ObjectClass, NULL, NULL); JSObject *desc;
desc = js_NewObject(cx, &js_ObjectClass, NULL, NULL);
if (!desc) if (!desc)
goto drop_property; goto drop_property;
*vp = OBJECT_TO_JSVAL(desc); /* Root and return. */ *vp = OBJECT_TO_JSVAL(desc); /* Root and return. */