Closed
Bug 603728
Opened 13 years ago
Closed 13 years ago
widget/src/gtk2/nsWindow.cpp:3123: warning: unused variable 'domVirtualKeyCode'
Categories
(Core :: Widget: Gtk, defect)
Tracking
()
RESOLVED
FIXED
mozilla2.0b7
People
(Reporter: dholbert, Assigned: masayuki)
References
Details
(Whiteboard: [build_warning])
Attachments
(1 file)
769 bytes,
patch
|
karlt
:
review+
joe
:
approval2.0+
|
Details | Diff | Splinter Review |
> mozilla/widget/src/gtk2/nsWindow.cpp: In member function 'PRBool nsWindow::DispatchKeyDownEvent(GdkEventKey*, PRBool*)': > mozilla/widget/src/gtk2/nsWindow.cpp:3123: warning: unused variable 'domVirtualKeyCode' Here's the flagged line: >3123 PRUint32 domVirtualKeyCode = GdkKeyCodeToDOMKeyCode(aEvent->keyval); Looks like that line (including the function call) can just be removed... masayuki, is there any reason we need that?
Reporter | ||
Comment 1•13 years ago
|
||
mxr link: http://mxr.mozilla.org/mozilla-central/source/widget/src/gtk2/nsWindow.cpp?mark=3123-3123#3113
Assignee | ||
Comment 2•13 years ago
|
||
Yes, we can remove it!
Assignee | ||
Comment 3•13 years ago
|
||
Attachment #482768 -
Flags: review?(karlt)
Updated•13 years ago
|
Attachment #482768 -
Flags: review?(karlt) → review+
Assignee | ||
Comment 4•13 years ago
|
||
Comment on attachment 482768 [details] [diff] [review] Patch v1.0 no risk. fix a nit.
Attachment #482768 -
Flags: approval2.0?
Updated•13 years ago
|
Attachment #482768 -
Flags: approval2.0? → approval2.0+
Assignee | ||
Comment 5•13 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/047cb442023a
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b8
Updated•13 years ago
|
Target Milestone: mozilla2.0b8 → mozilla2.0b7
You need to log in
before you can comment on or make changes to this bug.
Description
•