CGE: Fix uninitialised warning on event polling

This commit is contained in:
Paul Gilbert 2011-08-06 19:23:01 +10:00
parent 5aba6b5a0c
commit db61f65b41

View File

@ -247,6 +247,7 @@ EventManager::EventManager() {
_quitFlag = false;
_eventQueueHead = 0;
_eventQueueTail = 0;
memset(&_event, 0, sizeof(Common::Event));
}
void EventManager::poll() {