Fix a logic error caught by the MSVC compiler and an initializer error, bug 316416

This commit is contained in:
bsmedberg@covad.net
2005-12-02 17:38:18 +00:00
parent b0e1ffb528
commit 559f79c645
3 changed files with 4 additions and 2 deletions

View File

@@ -117,7 +117,7 @@ nsNativeModuleLoader::LoadModule(nsILocalFile* aFile, nsIModule* *aResult)
return NS_NOINTERFACE;
}
NativeLoadData data = { nsnull, nsnull };
NativeLoadData data;
if (mLibraries.Get(hashedFile, &data)) {
NS_ASSERTION(data.module, "Corrupt mLibraries hash");