mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
Bug 767370 - Uninitialised value use in nsIDOMKeyEvent_GetCharCode; r=peterv
This commit is contained in:
parent
205eff8cdd
commit
fb5a3ad0e3
@ -96,6 +96,7 @@ nsDOMKeyboardEvent::GetCharCode(PRUint32* aCharCode)
|
||||
*aCharCode = ((nsKeyEvent*)mEvent)->charCode;
|
||||
break;
|
||||
default:
|
||||
*aCharCode = 0;
|
||||
break;
|
||||
}
|
||||
return NS_OK;
|
||||
|
Loading…
Reference in New Issue
Block a user