nsMenuPopupFrame.cpp:149:18: warning: unused variable 'presContext'

RESOLVED FIXED in mozilla9

Status

()

defect
RESOLVED FIXED
8 years ago
8 years ago

People

(Reporter: dholbert, Assigned: dholbert)

Tracking

(Blocks 1 bug)

Trunk
mozilla9
x86_64
Linux
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

()

Attachments

(1 attachment)

Bug 669028 removed the last usage of the local-var |presContext| in nsMenuPopupFrame::Init, triggering:
{
layout/xul/base/src/nsMenuPopupFrame.cpp: In member function 'virtual nsresult nsMenuPopupFrame::Init(nsIContent*, nsIFrame*, nsIFrame*)':
layout/xul/base/src/nsMenuPopupFrame.cpp:149:18: warning: unused variable 'presContext'
}

Upcoming attached patch removes this variable, fixing the warning.
Assignee: nobody → dholbert
Status: NEW → ASSIGNED
Attachment #559815 - Flags: review?(masayuki)
http://hg.mozilla.org/mozilla-central/rev/cdf7e50630fc
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Whiteboard: [inbound]
Target Milestone: --- → mozilla9
You need to log in before you can comment on or make changes to this bug.