Closed Bug 907328 Opened 11 years ago Closed 11 years ago

unused variable warnings in Runtime.cpp in optimized builds

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla26

People

(Reporter: Benjamin, Assigned: Benjamin)

Details

Attachments

(1 file)

Attached patch fix itSplinter Review
/dev/mozilla/inbound/js/src/vm/Runtime.cpp
/home/benjamin/dev/mozilla/inbound/js/src/vm/Runtime.cpp: In function ‘bool js::CurrentThreadCanAccessRuntime(JSRuntime*)’:
/home/benjamin/dev/mozilla/inbound/js/src/vm/Runtime.cpp:747:20: warning: unused variable ‘pt’ [-Wunused-variable]
/home/benjamin/dev/mozilla/inbound/js/src/vm/Runtime.cpp: In function ‘bool js::CurrentThreadCanAccessZone(JS::Zone*)’:
/home/benjamin/dev/mozilla/inbound/js/src/vm/Runtime.cpp:755:20: warning: unused variable ‘pt’ [-Wunused-variable]
Attachment #792988 - Flags: review?(luke)
Comment on attachment 792988 [details] [diff] [review]
fix it

And a good day to you, sir.
Attachment #792988 - Flags: review?(luke) → review+
https://hg.mozilla.org/mozilla-central/rev/be5a8c4d2d21
Status: NEW → 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: