Squelch unused name warnings in Nitro in release builds

RESOLVED FIXED in mozilla10

Status

()

Core
JavaScript Engine
--
trivial
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: terrence, Assigned: terrence)

Tracking

Trunk
mozilla10
x86_64
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

6 years ago
Created attachment 566385 [details] [diff] [review]
The trivial fix.

Three variables in a Nitro header included all over the tree are only used in JS_ASSERT's.  Wrap these declarations in DebugOnly so that they are only present in debug builds and do not generate verbose warnings in release builds.
Attachment #566385 - Flags: review?(luke)

Updated

6 years ago
Attachment #566385 - Flags: review?(luke) → review+
(Assignee)

Updated

6 years ago
Keywords: checkin-needed
http://hg.mozilla.org/integration/mozilla-inbound/rev/e82ecd018825
Keywords: checkin-needed
Target Milestone: --- → mozilla10

Comment 2

6 years ago
https://hg.mozilla.org/mozilla-central/rev/e82ecd018825
Status: ASSIGNED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.