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)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla26
People
(Reporter: dholbert, Assigned: dholbert)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
962 bytes,
patch
|
bhackett1024
:
review+
|
Details | Diff | Splinter Review |
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.
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #786094 -
Flags: review?(bhackett1024)
Updated•11 years ago
|
Attachment #786094 -
Flags: review?(bhackett1024) → review+
Assignee | ||
Comment 2•11 years ago
|
||
Flags: in-testsuite-
Comment 3•11 years ago
|
||
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.
Description
•