mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
f7b2a8b9f1
commit
418e53bb8b
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user