Closed Bug 693847 Opened 13 years ago Closed 13 years ago

Squelch unused name warnings in Nitro in release builds

Categories

(Core :: JavaScript Engine, defect)

x86_64
Linux
defect
Not set
trivial

Tracking

()

RESOLVED FIXED
mozilla10

People

(Reporter: terrence, Assigned: terrence)

Details

Attachments

(1 file)

Attached patch The trivial fix.Splinter Review
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)
Attachment #566385 - Flags: review?(luke) → review+
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/e82ecd018825
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: