Closed Bug 555686 Opened 10 years ago Closed 10 years ago

scope is never used in JS_NextProperty

Categories

(Core :: JavaScript Engine, defect, trivial)

defect
Not set
trivial

Tracking

()

RESOLVED FIXED

People

(Reporter: timeless, Assigned: timeless)

References

(Blocks 1 open bug, )

Details

(Keywords: coverity)

Attachments

(1 file)

3963 JS_NextProperty(JSContext *cx, JSObject *iterobj, jsid *idp)

3967     JSScope *scope;

3973     if (i < 0) {

3977         scope = OBJ_SCOPE(obj);
Attached patch drop itSplinter Review
Assignee: general → timeless
Status: NEW → ASSIGNED
Attachment #435579 - Flags: review?(jorendorff)
Comment on attachment 435579 [details] [diff] [review]
drop it

Stealing. Looks really harmless. I will leave an r? behind for jorendorff he can clear himself in case he wants to review this after all.
Attachment #435579 - Flags: review?(jorendorff)
Attachment #435579 - Flags: review+
Attachment #435579 - Flags: review?(jorendorff) → review+
Keywords: checkin-needed
http://hg.mozilla.org/mozilla-central/rev/39e1137fe875
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Keywords: checkin-needed
You need to log in before you can comment on or make changes to this bug.