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

RESOLVED FIXED in mozilla9

Status

()

Core
Layout
RESOLVED FIXED
6 years ago
6 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

(URL)

Attachments

(1 attachment)

(Assignee)

Description

6 years ago
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)

Comment 1

6 years ago
Created attachment 559815 [details] [diff] [review]
fix: remove unused variable
Assignee: nobody → dholbert
Status: NEW → ASSIGNED
Attachment #559815 - Flags: review?(masayuki)
Comment on attachment 559815 [details] [diff] [review]
fix: remove unused variable

Thank you!
Attachment #559815 - Flags: review?(masayuki) → review+
(Assignee)

Comment 3

6 years ago
http://hg.mozilla.org/integration/mozilla-inbound/rev/cdf7e50630fc
Whiteboard: [inbound]
http://hg.mozilla.org/mozilla-central/rev/cdf7e50630fc
Status: ASSIGNED → RESOLVED
Last Resolved: 6 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.