Bug 486653: fix minor warning for return value
--- a/js/src/jsproxy.cpp
+++ b/js/src/jsproxy.cpp
@@ -1329,17 +1329,17 @@ FixProxy(JSContext *cx, JSObject *proxy,
/*
* Make a blank object from the recipe fix provided to us. This must have
* number of fixed slots as the proxy so that we can swap their contents.
*/
gc::FinalizeKind kind = gc::FinalizeKind(proxy->arena()->header()->thingKind);
JSObject *newborn = NewNonFunction<WithProto::Given>(cx, clasp, proto, parent, kind);
if (!newborn)
- return NULL;
+ return false;
AutoObjectRooter tvr2(cx, newborn);
if (clasp == &CallableObjectClass) {
newborn->setSlot(JSSLOT_CALLABLE_CALL, GetCall(proxy));
newborn->setSlot(JSSLOT_CALLABLE_CONSTRUCT, GetConstruct(proxy));
}
{