diff options
author | Paul Gilbert | 2011-08-06 19:23:01 +1000 |
---|---|---|
committer | Paul Gilbert | 2011-08-06 19:23:01 +1000 |
commit | db61f65b41530b01d2aa2ae6f31496bee669585d (patch) | |
tree | 95a1b8f1f40a135e2393963b32a3c05516e054b5 /engines | |
parent | 5aba6b5a0c5876792290fac806695fee9fecd743 (diff) | |
download | scummvm-rg350-db61f65b41530b01d2aa2ae6f31496bee669585d.tar.gz scummvm-rg350-db61f65b41530b01d2aa2ae6f31496bee669585d.tar.bz2 scummvm-rg350-db61f65b41530b01d2aa2ae6f31496bee669585d.zip |
CGE: Fix uninitialised warning on event polling
Diffstat (limited to 'engines')
-rw-r--r-- | engines/cge/events.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/cge/events.cpp b/engines/cge/events.cpp index 50544255a8..916de839eb 100644 --- a/engines/cge/events.cpp +++ b/engines/cge/events.cpp @@ -247,6 +247,7 @@ EventManager::EventManager() { _quitFlag = false; _eventQueueHead = 0; _eventQueueTail = 0; + memset(&_event, 0, sizeof(Common::Event)); } void EventManager::poll() { |