mirror of
https://github.com/yawut/SDL.git
synced 2026-09-11 02:26:25 -05:00
Valgrind fix.
This commit is contained in:
@@ -159,6 +159,7 @@ static int X11_DispatchEvent(_THIS)
|
||||
int posted;
|
||||
XEvent xevent;
|
||||
|
||||
memset(&xevent, '\0', sizeof (XEvent)); /* valgrind fix. --ryan. */
|
||||
XNextEvent(SDL_Display, &xevent);
|
||||
|
||||
posted = 0;
|
||||
|
||||
Reference in New Issue
Block a user