Last Comment Bug 693847 - Squelch unused name warnings in Nitro in release builds
: Squelch unused name warnings in Nitro in release builds
Status: RESOLVED FIXED
:
Product: Core
Classification: Components
Component: JavaScript Engine (show other bugs)
: Trunk
: x86_64 Linux
: -- trivial (vote)
: mozilla10
Assigned To: Terrence Cole [:terrence]
:
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-10-11 16:03 PDT by Terrence Cole [:terrence]
Modified: 2011-10-15 05:36 PDT (History)
2 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
The trivial fix. (2.35 KB, patch)
2011-10-11 16:03 PDT, Terrence Cole [:terrence]
luke: review+
Details | Diff | Splinter Review

Description Terrence Cole [:terrence] 2011-10-11 16:03:05 PDT
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.
Comment 2 Ed Morley [:emorley] 2011-10-15 05:36:42 PDT
https://hg.mozilla.org/mozilla-central/rev/e82ecd018825

Note You need to log in before you can comment on or make changes to this bug.