Closed Bug 806442 Opened 7 years ago Closed 7 years ago

Compiler.cpp:1293:14: warning: unused variable ‘slot’ [-Wunused-variable]

Categories

(Core :: JavaScript Engine, defect)

x86_64
Linux
defect
Not set

Tracking

()

RESOLVED FIXED
mozilla19

People

(Reporter: dholbert, Assigned: dholbert)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

New build warning:
/js/src/methodjit/Compiler.cpp: In member function ‘void js::mjit::Compiler::markUndefinedLocal(uint32_t, uint32_t)’:

/js/src/methodjit/Compiler.cpp:1293:14: warning: unused variable ‘slot’ [-Wunused-variable]

That's from this cset for bug 781657, which removed the last usage of |slot| in this method:
 http://hg.mozilla.org/mozilla-central/diff/9a5191dfae8d/js/src/methodjit/Compiler.cpp#l1.7

Looks like |slot| can just go away.
Attached patch fixSplinter Review
Assignee: general → dholbert
Status: NEW → ASSIGNED
Attachment #676220 - Flags: review?(wmccloskey)
Attachment #676220 - Flags: review?(wmccloskey) → review+
https://hg.mozilla.org/mozilla-central/rev/63ce297be1f2
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
You need to log in before you can comment on or make changes to this bug.