compiler warning inspired fixes

This commit is contained in:
jband%netscape.com 1999-02-20 09:00:55 +00:00
parent 4d84d93a05
commit ff3388ba99
2 changed files with 4 additions and 4 deletions

View File

@ -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);

View File

@ -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");