Closed Bug 529950 Opened 15 years ago Closed 15 years ago

fix build warning "nsTreeColFrame.cpp:130: warning: unused variable 'frames'"

Categories

(Core :: Layout, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: dholbert, Assigned: dholbert)

References

Details

(Whiteboard: [build_warning])

Attachments

(1 file)

Attached patch fixSplinter Review
When building mozilla-central, I get this warning:

mozilla/layout/xul/base/src/tree/src/nsTreeColFrame.cpp: In member function 'virtual nsIFrame* nsDisplayXULTreeColSplitterTarget::HitTest(nsDisplayListBuilder*, nsPoint, nsDisplayItem::HitTestState*)':
nsTreeColFrame.cpp:130: warning: unused variable 'frames'

This variable's last use was removed in bug 512336, as shown here:
http://hg.mozilla.org/mozilla-central/diff/c52390466bd1/layout/xul/base/src/tree/src/nsTreeColFrame.cpp

Filing this bug on removing this unused variable.  Fix attached.
Attachment #413458 - Flags: review?(bzbarsky)
Blocks: 512336
No longer depends on: 512336
Attachment #413458 - Flags: review?(bzbarsky) → review+
Landed: http://hg.mozilla.org/mozilla-central/rev/aeabcddbb876
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Whiteboard: [build_warning]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: