Last Comment Bug 654017 - nsTreeBodyFrame.cpp:3530:11: warning: unused variable ‘rightEdge’
: nsTreeBodyFrame.cpp:3530:11: warning: unused variable ‘rightEdge’
Status: RESOLVED FIXED
[build_warning]
:
Product: Core
Classification: Components
Component: Layout (show other bugs)
: Trunk
: All All
: -- normal (vote)
: ---
Assigned To: neil@parkwaycc.co.uk
:
Mentors:
Depends on:
Blocks: 652007
  Show dependency treegraph
 
Reported: 2011-05-01 14:12 PDT by Daniel Holbert [:dholbert]
Modified: 2011-05-11 16:01 PDT (History)
0 users
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
Proposed patch (969 bytes, patch)
2011-05-11 07:37 PDT, neil@parkwaycc.co.uk
dholbert: review+
Details | Diff | Splinter Review

Description Daniel Holbert [:dholbert] 2011-05-01 14:12:01 PDT
Filing bug on this warning:
> nsTreeBodyFrame.cpp: In member function ‘void nsTreeBodyFrame::PaintText(PRInt32, nsTreeColumn*, const nsRect&, nsPresContext*, nsRenderingContext&, const nsRect&, nscoord&, PRBool)’:
> nsTreeBodyFrame.cpp:3530:11: warning: unused variable ‘rightEdge’

Warning was introduced by this cset:
 http://hg.mozilla.org/mozilla-central/rev/3bee3fefdec8
which removed the last use of this variable inside of PaintText.
Comment 1 neil@parkwaycc.co.uk 2011-05-11 07:37:02 PDT
Created attachment 531625 [details] [diff] [review]
Proposed patch
Comment 2 neil@parkwaycc.co.uk 2011-05-11 16:01:29 PDT
Pushed changeset baa770151999 to mozilla-central.

Note You need to log in before you can comment on or make changes to this bug.