Closed Bug 901799 Opened 11 years ago Closed 11 years ago

js/src/ion/IonMacroAssembler.cpp:707:20: warning: unused variable 'compartment' [-Wunused-variable]

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla26

People

(Reporter: dholbert, Assigned: dholbert)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

New build warning on inbound: { js/src/ion/IonMacroAssembler.cpp:707:20: warning: unused variable 'compartment' [-Wunused-variable] } This is a variable that bug 898886's checkin today left behind (removed the last usage of), here: https://hg.mozilla.org/integration/mozilla-inbound/rev/f836042326f9#l17.41 17.41 JSCompartment *compartment = GetIonContext()->compartment; 17.42 17.43 - void *interrupt = (void*)&compartment->rt->interrupt; 17.44 + void *interrupt = (void*)&GetIonContext()->runtime->interrupt; Looks like we can just drop the unused variable now.
Attached patch fixSplinter Review
Attachment #786094 - Flags: review?(bhackett1024)
Attachment #786094 - Flags: review?(bhackett1024) → review+
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: