aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2011-08-06 19:23:01 +1000
committerPaul Gilbert2011-08-06 19:23:01 +1000
commitdb61f65b41530b01d2aa2ae6f31496bee669585d (patch)
tree95a1b8f1f40a135e2393963b32a3c05516e054b5 /engines
parent5aba6b5a0c5876792290fac806695fee9fecd743 (diff)
downloadscummvm-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.cpp1
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() {