Closed
Bug 642047
Opened 15 years ago
Closed 15 years ago
nsDisplayList.cpp:1753: warning: unused variable ‘presContext’
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
DUPLICATE
of bug 618975
People
(Reporter: dholbert, Unassigned)
References
Details
(Whiteboard: [build_warning])
Noticed this warning in a build today:
> layout/base/nsDisplayList.cpp: In member function ‘virtual PRBool nsDisplayScrollLayer::ComputeVisibility(nsDisplayListBuilder*, nsRegion*, const nsRect&, PRBool&)’:
> layout/base/nsDisplayList.cpp:1753: warning: unused variable ‘presContext’
This looks to have been caused by the just-landed bug 618975, which removed the last usage of |presContext|:
http://hg.mozilla.org/mozilla-central/diff/dea535299cf2/layout/base/nsDisplayList.cpp#l1.140
Presumably, this variable should just go away.
Comment 1•15 years ago
|
||
Yeah, it looks like it can go away.
Comment 2•15 years ago
|
||
Patch in 618975 fixes this.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•