Closed Bug 772210 Opened 12 years ago Closed 12 years ago

Fix warning: unused variable 'initFlushCount'

Categories

(Core :: JavaScript Engine, defect)

ARM
Android
defect
Not set
minor

Tracking

()

RESOLVED FIXED
mozilla16
Tracking Status
firefox16 --- fixed

People

(Reporter: cpeterson, Assigned: cpeterson)

Details

Attachments

(1 file)

When building for Android/JS_CPU_ARM, I see many instances of the following compiler warning because BaseAssembler.h is #included in many other files:

mozilla/inbound/js/src/methodjit/BaseAssembler.h: In member function 'JSC::AbstractMacroAssembler<JSC::ARMAssembler>::Call js::mjit::Assembler::callWithABI(void*, bool)':
mozilla/inbound/js/src/methodjit/BaseAssembler.h:563: warning: unused variable 'initFlushCount'
Assignee: general → cpeterson
Severity: normal → minor
Status: NEW → ASSIGNED
Summary: Fix debug warning: unused variable 'initFlushCount' → Fix warning: unused variable 'initFlushCount'
Fix warning: unused variable 'initFlushCount' by using DebugOnly<int>. This code only affects #ifdef JS_CPU_ARM builds.
Attachment #640350 - Flags: review?(luke)
Attachment #640350 - Flags: review?(luke) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/c5623d48b5fc
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Don't resolve bugs until they land on m-c.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
https://hg.mozilla.org/mozilla-central/rev/c5623d48b5fc
Status: REOPENED → RESOLVED
Closed: 12 years ago12 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: