Last Comment Bug 654017 - nsTreeBodyFrame.cpp:3530:11: warning: unused variable ‘rightEdge’
: nsTreeBodyFrame.cpp:3530:11: warning: unused variable ‘rightEdge’
Product: Core
Classification: Components
Component: Layout (show other bugs)
: Trunk
: All All
-- normal (vote)
: ---
Assigned To:
: Jet Villegas (:jet)
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:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

Proposed patch (969 bytes, patch)
2011-05-11 07:37 PDT,
dholbert: review+
Details | Diff | Splinter Review

Description User image 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:
which removed the last use of this variable inside of PaintText.
Comment 1 User image 2011-05-11 07:37:02 PDT
Created attachment 531625 [details] [diff] [review]
Proposed patch
Comment 2 User image 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.