зеркало из https://github.com/mozilla/gecko-dev.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:
Родитель
d9666a057f
Коммит
2580db3548
|
@ -1170,7 +1170,7 @@ nsTextEditorState::PrepareEditor(const nsAString *aValue)
|
||||||
|
|
||||||
bool shouldInitializeEditor = false;
|
bool shouldInitializeEditor = false;
|
||||||
nsCOMPtr<nsIEditor> newEditor; // the editor that we might create
|
nsCOMPtr<nsIEditor> newEditor; // the editor that we might create
|
||||||
nsresult rv;
|
nsresult rv = NS_OK;
|
||||||
if (!mEditor) {
|
if (!mEditor) {
|
||||||
shouldInitializeEditor = true;
|
shouldInitializeEditor = true;
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче