From 4ac81f3d18c6d31d1e6291e53d128db9f7199f57 Mon Sep 17 00:00:00 2001 From: David Turner Date: Wed, 16 Jun 2010 07:22:54 +0000 Subject: Fix for Valgrind Uninitialised Error from SDL_Event in sdl backend and derived backends. svn-id: r49902 --- backends/platform/wince/wince-sdl.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'backends/platform/wince') diff --git a/backends/platform/wince/wince-sdl.cpp b/backends/platform/wince/wince-sdl.cpp index b3480702b5..970c9dce90 100644 --- a/backends/platform/wince/wince-sdl.cpp +++ b/backends/platform/wince/wince-sdl.cpp @@ -2263,6 +2263,7 @@ static int mapKeyCE(SDLKey key, SDLMod mod, Uint16 unicode, bool unfilter) { bool OSystem_WINCE3::pollEvent(Common::Event &event) { SDL_Event ev; + ev.type = SDL_NOEVENT; byte b = 0; DWORD currentTime; bool keyEvent = false; -- cgit v1.2.3