Fix uninitialized ok variable bug in last checkin.

This commit is contained in:
brendan%mozilla.org 2007-02-21 21:29:56 +00:00
parent 48c3e3b0f0
commit 7ce10a28c3

View File

@ -334,16 +334,17 @@ typedef struct JSWatchPoint {
static JSBool
DropWatchPointAndUnlock(JSContext *cx, JSWatchPoint *wp, uintN flag)
{
JSScopeProperty *sprop;
JSBool ok;
JSScopeProperty *sprop;
JSObject *pobj;
JSProperty *prop;
JSPropertyOp setter;
ok = JS_TRUE;
wp->flags &= ~flag;
if (wp->flags != 0) {
DBG_UNLOCK(cx->runtime);
return JS_TRUE;
return ok;
}
/*