Last Comment Bug 651567 - nsMathMLmunderFrame.cpp:285:11: warning: unused variable 'xHeight'
: nsMathMLmunderFrame.cpp:285:11: warning: unused variable 'xHeight'
Product: Core
Classification: Components
Component: MathML (show other bugs)
: Trunk
: x86_64 Linux
-- normal (vote)
: ---
Assigned To: Daniel Holbert [:dholbert] (vacation, returning 2/27)
: Anthony Jones (:kentuckyfriedtakahe, :k17e)
Depends on:
  Show dependency treegraph
Reported: 2011-04-20 11:23 PDT by Daniel Holbert [:dholbert] (vacation, returning 2/27)
Modified: 2011-04-21 10:23 PDT (History)
1 user (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

fix (968 bytes, patch)
2011-04-20 11:23 PDT, Daniel Holbert [:dholbert] (vacation, returning 2/27)
karlt: review+
Details | Diff | Splinter Review

Description User image Daniel Holbert [:dholbert] (vacation, returning 2/27) 2011-04-20 11:23:35 PDT
Created attachment 527328 [details] [diff] [review]

Filing bug on this warning:
> layout/mathml/nsMathMLmunderFrame.cpp:285:11: warning: unused variable 'xHeight

Looks like this variable has actually been unused since it was first added, back in the year 2000:

GCC only recently started warning us about this, though, because this variable had been set by passing it as an outparam -- which looked like we were 'using' it -- up until zwol tweaked it to set it directly, in Bug 174055 part 6.

Attached patch kills the variable.
Comment 1 User image Daniel Holbert [:dholbert] (vacation, returning 2/27) 2011-04-21 10:23:32 PDT

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