From df21c986515fa0a93a10afbd789341894fcfe68d Mon Sep 17 00:00:00 2001 From: Ketmar Dark Date: Sun, 13 Oct 2019 19:36:59 +0300 Subject: [PATCH] sdl2sys: removed compiler warning (fpc warnings sux) --- src/game/sdl2/g_system.pas | 1 + 1 file changed, 1 insertion(+) diff --git a/src/game/sdl2/g_system.pas b/src/game/sdl2/g_system.pas index 85e5d94..b7142a8 100644 --- a/src/game/sdl2/g_system.pas +++ b/src/game/sdl2/g_system.pas @@ -422,6 +422,7 @@ implementation var ev: TSDL_Event; begin result := false; + ZeroMemory(@ev, sizeof(ev)); while SDL_PollEvent(@ev) <> 0 do begin case ev.type_ of -- 2.29.2