Bug 1006982 - Fix -Wuninitialized warning in libeditor. r=ehsan

This commit is contained in:
Chris Peterson 2014-05-06 21:07:50 -07:00
parent 63b125908b
commit 7d29b2efc6

View File

@ -648,7 +648,7 @@ nsHTMLEditor::HandleKeyPressEvent(nsIDOMKeyEvent* aKeyEvent)
}
bool handled = false;
nsresult rv;
nsresult rv = NS_OK;
if (nsHTMLEditUtils::IsTableElement(blockParent)) {
rv = TabInTable(nativeKeyEvent->IsShift(), &handled);
if (handled) {