mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Fix compile bustage from changeset b7ee9263cf96. Trivial fix. r=red.
This commit is contained in:
parent
c8f686672d
commit
1a7723b3aa
@ -1995,7 +1995,8 @@ obj_getOwnPropertyDescriptor(JSContext *cx, uintN argc, jsval *vp)
|
||||
goto drop_property;
|
||||
|
||||
/* 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)
|
||||
goto drop_property;
|
||||
*vp = OBJECT_TO_JSVAL(desc); /* Root and return. */
|
||||
|
Loading…
Reference in New Issue
Block a user