mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-06 00:55:37 +00:00
Fix uninitialized ok variable bug in last checkin.
This commit is contained in:
parent
48c3e3b0f0
commit
7ce10a28c3
@ -334,16 +334,17 @@ typedef struct JSWatchPoint {
|
|||||||
static JSBool
|
static JSBool
|
||||||
DropWatchPointAndUnlock(JSContext *cx, JSWatchPoint *wp, uintN flag)
|
DropWatchPointAndUnlock(JSContext *cx, JSWatchPoint *wp, uintN flag)
|
||||||
{
|
{
|
||||||
JSScopeProperty *sprop;
|
|
||||||
JSBool ok;
|
JSBool ok;
|
||||||
|
JSScopeProperty *sprop;
|
||||||
JSObject *pobj;
|
JSObject *pobj;
|
||||||
JSProperty *prop;
|
JSProperty *prop;
|
||||||
JSPropertyOp setter;
|
JSPropertyOp setter;
|
||||||
|
|
||||||
|
ok = JS_TRUE;
|
||||||
wp->flags &= ~flag;
|
wp->flags &= ~flag;
|
||||||
if (wp->flags != 0) {
|
if (wp->flags != 0) {
|
||||||
DBG_UNLOCK(cx->runtime);
|
DBG_UNLOCK(cx->runtime);
|
||||||
return JS_TRUE;
|
return ok;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user