Closed
Bug 898232
Opened 11 years ago
Closed 11 years ago
nsXULPrototypeCache.cpp:208:19: warning: unused variable 'existingScript' [-Wunused-variable]
Categories
(Core :: XUL, defect)
Core
XUL
Tracking
()
RESOLVED
FIXED
mozilla25
People
(Reporter: dholbert, Assigned: dholbert)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
1.01 KB,
patch
|
jonco
:
review+
|
Details | Diff | Splinter Review |
Bug 896506's patch left us with an unused variable in nsXULPrototypeCache::PutScript(), triggering a build warning: { content/xul/document/src/nsXULPrototypeCache.cpp: In member function 'nsresult nsXULPrototypeCache::PutScript(nsIURI*, JS::Handle<JSScript*>)': content/xul/document/src/nsXULPrototypeCache.cpp:208:19: warning: unused variable 'existingScript' [-Wunused-variable] if (JSScript* existingScript = mScriptTable.Get(aURI)) { } Looks like we can just drop "JSScript* existingScript = "
Assignee | ||
Comment 1•11 years ago
|
||
Updated•11 years ago
|
Attachment #781394 -
Flags: review?(bugs) → review?(jcoppeard)
Comment 2•11 years ago
|
||
Comment on attachment 781394 [details] [diff] [review] fix Review of attachment 781394 [details] [diff] [review]: ----------------------------------------------------------------- Sorry about the warning! The fix looks good.
Attachment #781394 -
Flags: review?(jcoppeard) → review+
Assignee | ||
Comment 3•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/6db27e6a0739
Flags: in-testsuite-
Comment 4•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/6db27e6a0739
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
You need to log in
before you can comment on or make changes to this bug.
Description
•