Closed Bug 783351 Opened 7 years ago Closed 7 years ago

nsObjectLoadingContent.cpp:2501:11: warning: unused variable ‘topUri’ [-Wunused-variable]

Categories

(Core :: Plug-ins, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla17

People

(Reporter: dholbert, Assigned: johns)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Newish build warning:
{
content/base/src/nsObjectLoadingContent.cpp: In member function ‘bool nsObjectLoadingContent::ShouldPlay(nsObjectLoadingContent::FallbackType&)’:

content/base/src/nsObjectLoadingContent.cpp:2501:11: warning: unused variable ‘topUri’ [-Wunused-variable]
}

This variable was never unused in the changeset that added it (for bug 745030):
  https://hg.mozilla.org/mozilla-central/rev/615a657305b5#l1.1453

Presumably, that line can just be removed.
(In reply to Daniel Holbert [:dholbert] from comment #0)
> This variable was never unused in the changeset that added it

er "never used"
Assignee: nobody → jschoenick
Status: NEW → ASSIGNED
OS: Linux → All
Hardware: x86_64 → All
Attachment #652592 - Flags: review?(joshmoz)
Attachment #652592 - Flags: review?(joshmoz) → review+
https://hg.mozilla.org/mozilla-central/rev/57de8dafdf2d
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla17
You need to log in before you can comment on or make changes to this bug.