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

RESOLVED FIXED in mozilla35

Status

()

defect
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: dholbert, Assigned: dholbert)

Tracking

(Blocks 1 bug)

Trunk
mozilla35
x86_64
Linux
Points:
---
Dependency tree / graph
Bug Flags:
qe-verify -

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

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
Posted 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: 5 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.