Bug 581474 - Possible uninitialized variable use in nsXPCWrappedJS::GetNewOrUsed; r=mrbkap

This commit is contained in:
Atul Aggarwal 2011-09-05 10:29:06 +01:00
parent 50edfd4f34
commit f0303a7fa5

View File

@ -281,7 +281,7 @@ nsXPCWrappedJS::GetNewOrUsed(XPCCallContext& ccx,
{
JSObject2WrappedJSMap* map;
JSObject* rootJSObj;
nsXPCWrappedJS* root;
nsXPCWrappedJS* root = nsnull;
nsXPCWrappedJS* wrapper = nsnull;
nsXPCWrappedJSClass* clazz = nsnull;
XPCJSRuntime* rt = ccx.GetRuntime();