Closed
Bug 666481
Opened 13 years ago
Closed 13 years ago
jsatom.cpp:945:12: warning: variable ‘count’ set but not used
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: dholbert, Assigned: dholbert)
References
Details
(Whiteboard: [build_warning][fixed-in-tracemonkey])
Attachments
(1 file)
1.08 KB,
patch
|
igor
:
review+
|
Details | Diff | Splinter Review |
gcc-4.6 reports this build warning: js/src/jsatom.cpp: In function ‘void js_InitAtomMap(JSContext*, JSAtomMap*, JSAtomList*)’: js/src/jsatom.cpp:945:12: warning: variable ‘count’ set but not used [-Wunused-but-set-variable] Bug 385729 removed the last usages of this variable 'count'[1], but left the variable there. It looks like this variable can just go away. [1] Lines 1.156 & 1.161 of http://hg.mozilla.org/mozilla-central/diff/5db593415bf1/js/src/jsatom.c#l1.156
Assignee | ||
Comment 1•13 years ago
|
||
Assignee | ||
Updated•13 years ago
|
Attachment #541262 -
Flags: review?(igor)
Comment 2•13 years ago
|
||
Comment on attachment 541262 [details] [diff] [review] fix Review of attachment 541262 [details] [diff] [review]: ----------------------------------------------------------------- That is a nice feature of GCC 4.6!
Attachment #541262 -
Flags: review?(igor) → review+
Assignee | ||
Updated•13 years ago
|
Assignee: general → dholbert
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•13 years ago
|
||
http://hg.mozilla.org/tracemonkey/rev/4f1eb9b43658
Whiteboard: [build_warning] → [build_warning][fixed-in-tracemonkey]
Comment 4•13 years ago
|
||
cdleary-bot mozilla-central merge info: http://hg.mozilla.org/mozilla-central/rev/4f1eb9b43658
Updated•13 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•