Beginning on October 25th, 2016, Persona will no longer be an option for authentication on BMO. For more details see Persona Deprecated.
Last Comment Bug 691959 - GCC 4.6 build warning: "nsCSSFrameConstructor.cpp:9934:8: warning: variable 'done' set but not used [-Wunused-but-set-variable]"
: GCC 4.6 build warning: "nsCSSFrameConstructor.cpp:9934:8: warning: variable '...
Product: Core
Classification: Components
Component: Layout: Text (show other bugs)
: Trunk
: x86_64 Linux
: -- normal (vote)
: mozilla10
Assigned To: Daniel Holbert [:dholbert] (PTO Oct 21-25)
Depends on:
Blocks: buildwarning
  Show dependency treegraph
Reported: 2011-10-04 16:06 PDT by Daniel Holbert [:dholbert] (PTO Oct 21-25)
Modified: 2011-10-09 07:32 PDT (History)
1 user (show)
Ms2ger: in‑testsuite-
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

fix (1.24 KB, patch)
2011-10-04 16:10 PDT, Daniel Holbert [:dholbert] (PTO Oct 21-25)
dbaron: review+
Details | Diff | Splinter Review

Description Daniel Holbert [:dholbert] (PTO Oct 21-25) 2011-10-04 16:06:32 PDT
Filing bug on this GCC 4.6 build warning (the only one I get for nsCSSFrameConstructor.cpp):
> nsCSSFrameConstructor.cpp: In function 'PRInt32 FirstLetterCount(const nsTextFragment*)':
> nsCSSFrameConstructor.cpp:9934:8: warning: variable 'done' set but not used [-Wunused-but-set-variable]

This variable was added in April 1999 in this CVS commit:
with only one use:
> while (aNumFragments && !done) {

That one use was subsequently removed in this commit, in Oct 1999:

and this variable appears to have been unused since then.
Comment 1 Daniel Holbert [:dholbert] (PTO Oct 21-25) 2011-10-04 16:10:00 PDT
Created attachment 564694 [details] [diff] [review]
Comment 2 David Baron :dbaron: ⌚️UTC-7 (busy until November 7) 2011-10-08 11:54:01 PDT
Comment on attachment 564694 [details] [diff] [review]

Comment 3 Daniel Holbert [:dholbert] (PTO Oct 21-25) 2011-10-08 14:46:19 PDT
Comment 4 :Ms2ger (⌚ UTC+1/+2) 2011-10-09 07:32:27 PDT

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