Bug 912044 - Initialize rv so we don't use it uninitialized. r=bz

This commit is contained in:
Blake Kaplan 2013-09-03 16:59:11 +02:00
Родитель 894515ad95
Коммит 2511e9f44d
1 изменённых файлов: 1 добавлений и 1 удалений

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

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