Bug 767370 - Uninitialised value use in nsIDOMKeyEvent_GetCharCode; r=peterv

This commit is contained in:
Julian Seward 2012-06-22 17:53:01 +02:00
parent 205eff8cdd
commit fb5a3ad0e3

View File

@ -96,6 +96,7 @@ nsDOMKeyboardEvent::GetCharCode(PRUint32* aCharCode)
*aCharCode = ((nsKeyEvent*)mEvent)->charCode;
break;
default:
*aCharCode = 0;
break;
}
return NS_OK;