Closed
Bug 573530
Opened 15 years ago
Closed 15 years ago
xpcom/build/nsXPComInit.cpp:700: warning: unused variable 'iim'
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
People
(Reporter: dholbert, Assigned: dholbert)
References
Details
(Whiteboard: [build_warning])
Attachments
(1 file)
1.12 KB,
patch
|
benjamin
:
review+
|
Details | Diff | Splinter Review |
This change...
http://hg.mozilla.org/mozilla-central/diff/894850aef55c/xpcom/build/nsXPComInit.cpp
... removed the only use of the variable "iim", so that file now spams the build warning:
> ../../../mozilla/xpcom/build/nsXPComInit.cpp:700: warning: unused variable 'iim'
"iim" is set here:
{
699 // The iimanager constructor searches and registers XPT files.
700 nsIInterfaceInfoManager* iim =
701 xptiInterfaceInfoManager::GetSingleton();
}
It looks like we're calling that just to trigger the lazy-initialization up-front, even though we don't actually need the "iim" singleton there.
Assignee | ||
Comment 1•15 years ago
|
||
Updated•15 years ago
|
Attachment #452803 -
Flags: review?(benjamin) → review+
Assignee | ||
Comment 2•15 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•