Fix uninitialized result code in JS component loader (bug 313612) regression from bug 279839. Thanks to Boris for helping track this down.

This commit is contained in:
bryner%brianryner.com 2005-10-24 21:01:27 +00:00
Родитель 2cc8558e03
Коммит c47a7f8696
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -1012,6 +1012,7 @@ mozJSComponentLoader::ModuleForLocation(const char *registryLocation,
he = PL_HashTableRawAdd(mModules, hep, hash, he = PL_HashTableRawAdd(mModules, hep, hash,
nsCRT::strdup(registryLocation), module); nsCRT::strdup(registryLocation), module);
*status = NS_OK;
return module; return module;
} }