зеркало из https://github.com/mozilla/gecko-dev.git
Bug 912044 - Initialize rv so we don't use it uninitialized. r=bz
This commit is contained in:
Родитель
894515ad95
Коммит
2511e9f44d
|
@ -3493,7 +3493,7 @@ XULDocument::OnStreamComplete(nsIStreamLoader* aLoader,
|
|||
// transcluded script completes. Compile and execute the script
|
||||
// if the load was successful, then continue building content
|
||||
// from the prototype.
|
||||
nsresult rv;
|
||||
nsresult rv = aStatus;
|
||||
|
||||
NS_ASSERTION(mCurrentScriptProto && mCurrentScriptProto->mSrcLoading,
|
||||
"script source not loading on unichar stream complete?");
|
||||
|
|
Загрузка…
Ссылка в новой задаче