mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-03 07:01:19 +00:00
compiler warning inspired fixes
This commit is contained in:
parent
4d84d93a05
commit
ff3388ba99
@ -67,8 +67,8 @@ nsXPCWrappedJSClass::GetNewOrUsedClass(XPCContext* xpcc,
|
||||
nsXPCWrappedJSClass::nsXPCWrappedJSClass(XPCContext* xpcc, REFNSIID aIID,
|
||||
nsIInterfaceInfo* aInfo)
|
||||
: mXPCContext(xpcc),
|
||||
mIID(aIID),
|
||||
mInfo(aInfo),
|
||||
mIID(aIID),
|
||||
mDescriptors(NULL)
|
||||
{
|
||||
NS_ADDREF(mInfo);
|
||||
|
@ -192,11 +192,11 @@ nsXPCWrappedNative::nsXPCWrappedNative(nsISupports* aObj,
|
||||
nsXPCWrappedNativeClass* aClass,
|
||||
nsXPCWrappedNative* root)
|
||||
: mObj(aObj),
|
||||
mClass(aClass),
|
||||
mJSObj(NULL),
|
||||
mClass(aClass),
|
||||
mDynamicScriptable(NULL),
|
||||
mRoot(root ? root : this),
|
||||
mNext(NULL),
|
||||
mDynamicScriptable(NULL)
|
||||
mNext(NULL)
|
||||
|
||||
{
|
||||
NS_PRECONDITION(mObj, "bad object to wrap");
|
||||
|
Loading…
x
Reference in New Issue
Block a user