Last Comment Bug 658834 - nsTextFrameThebes.cpp:1148:19: warning: unused variable ‘sc’
: nsTextFrameThebes.cpp:1148:19: warning: unused variable ‘sc’
Product: Core
Classification: Components
Component: Layout: Text (show other bugs)
: Trunk
: All All
-- normal (vote)
: mozilla6
Assigned To: Daniel Holbert [:dholbert] (vacation, returning 2/27)
Depends on:
  Show dependency treegraph
Reported: 2011-05-21 18:45 PDT by Daniel Holbert [:dholbert] (vacation, returning 2/27)
Modified: 2011-07-29 05:45 PDT (History)
3 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

fix: remove unused variable (703 bytes, patch)
2011-05-21 18:49 PDT, Daniel Holbert [:dholbert] (vacation, returning 2/27)
jfkthame: review+
Details | Diff | Splinter Review

Description User image Daniel Holbert [:dholbert] (vacation, returning 2/27) 2011-05-21 18:45:30 PDT
Filing bug on this warning:
> nsTextFrameThebes.cpp: In function ‘void BuildTextRuns([...])’:
> nsTextFrameThebes.cpp:1148:19: warning: unused variable ‘sc’

Variable was introduced in...
...(bug 253317) without any usages.  Looks like it was just left over from an earlier version of the patch that needed it.
Comment 1 User image Daniel Holbert [:dholbert] (vacation, returning 2/27) 2011-05-21 18:49:03 PDT
Created attachment 534264 [details] [diff] [review]
fix: remove unused variable
Comment 2 User image Jonathan Kew (:jfkthame) 2011-05-22 01:47:16 PDT
Comment on attachment 534264 [details] [diff] [review]
fix: remove unused variable

Yup, looks like a leftover - thanks for cleaning up!
Comment 3 User image Daniel Holbert [:dholbert] (vacation, returning 2/27) 2011-05-22 09:59:13 PDT
Comment 4 User image Matt Brubeck (:mbrubeck) 2011-05-23 08:48:02 PDT
Comment 5 User image Simona B [:simonab ] 2011-07-29 05:45:53 PDT
Mozilla/5.0 (Windows NT 5.1; rv:8.0a1) Gecko/20110728 Firefox/8.0a1

Looked at:
Based on this I am marking this: VERIFIED FIXED.

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