onepad: init event struct

Might help to reduce valgrind warning
This commit is contained in:
Gregory Hainaut 2016-07-22 20:27:54 +02:00
parent fa12743c8e
commit d58c07d697
1 changed files with 2 additions and 2 deletions

View File

@ -205,8 +205,8 @@ void AnalyzeKeyEvent(keyEvent &evt)
void PollForX11KeyboardInput()
{
keyEvent evt;
XEvent E;
keyEvent evt = {0};
XEvent E = {0};
// Keyboard input send by PCSX2
while (!ev_fifo.empty()) {