зеркало из https://github.com/mozilla/pjs.git
Bug 712510 - Initialize the return value in the extremely odd case where it's never assigned to before returning; r=roc
This commit is contained in:
Родитель
386d1d7103
Коммит
386be3fa09
|
@ -1170,7 +1170,7 @@ nsTextEditorState::PrepareEditor(const nsAString *aValue)
|
|||
|
||||
bool shouldInitializeEditor = false;
|
||||
nsCOMPtr<nsIEditor> newEditor; // the editor that we might create
|
||||
nsresult rv;
|
||||
nsresult rv = NS_OK;
|
||||
if (!mEditor) {
|
||||
shouldInitializeEditor = true;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче