Closed Bug 1078027 Opened 10 years ago Closed 10 years ago

nsAppRunner.cpp:4580:8: warning: unused variable 'testPref' [-Wunused-variable]

Categories

(Core :: DOM: Content Processes, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla35

People

(Reporter: dholbert, Assigned: dholbert)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

New build warning in m-c:
{
toolkit/xre/nsAppRunner.cpp:4580:8: warning: unused variable 'testPref' [-Wunused-variable]
}

This variable was added here, for bug 1068189:
https://hg.mozilla.org/mozilla-central/rev/2d6093ce3637#l1.18
and its only usage is in an #ifdeffed chunk of code. So, the variable itself should be in the #ifdeffed block as well.
Blocks: buildwarning
Attached patch fix v1Splinter Review
Assignee: nobody → dholbert
Status: NEW → ASSIGNED
Attachment #8500161 - Flags: review?(jmathies)
Attachment #8500161 - Flags: review?(jmathies) → review+
https://hg.mozilla.org/mozilla-central/rev/f5a23b027d12
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
Flags: qe-verify-
You need to log in before you can comment on or make changes to this bug.