Fix uninitialized ok variable bug in last checkin.
git-svn-id: svn://10.0.0.236/trunk@220667 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user