Closed
Bug 859482
Opened 12 years ago
Closed 12 years ago
XPCQuickStubs.cpp:117:10: warning: variable ‘definedProperty’ set but not used [-Wunused-but-set-variable]
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla23
People
(Reporter: dholbert, Assigned: dholbert)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
1.83 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
Last week, Bug 792215's cset removed the last usage of "definedProperty" in xpc_qsDefineQuickStubs:
https://hg.mozilla.org/mozilla-central/rev/dc6c1d4bff95#l7.254
so now we spam this build warning:
{
js/xpconnect/src/XPCQuickStubs.cpp: In function ‘JSBool xpc_qsDefineQuickStubs(JSContext*, JSObject*, unsigned int, uint32_t, const nsIID**, uint32_t, const xpc_qsHashEntry*, const xpc_qsPropertySpec*, const xpc_qsFunctionSpec*, const char*)’:
js/xpconnect/src/XPCQuickStubs.cpp:117:10: warning: variable ‘definedProperty’ set but not used [-Wunused-but-set-variable]
}
Looks like this variable can just go away.
Assignee | ||
Comment 1•12 years ago
|
||
Attachment #734799 -
Flags: review?(bzbarsky)
![]() |
||
Comment 2•12 years ago
|
||
Comment on attachment 734799 [details] [diff] [review]
fix
r=me
Attachment #734799 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Updated•12 years ago
|
Assignee | ||
Updated•12 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 3•12 years ago
|
||
Flags: in-testsuite-
Comment 4•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•