Commit 4d7c808a authored by Ryan C. Gordon's avatar Ryan C. Gordon

Valgrind fix.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401162
parent 071e2180
...@@ -159,6 +159,7 @@ static int X11_DispatchEvent(_THIS) ...@@ -159,6 +159,7 @@ static int X11_DispatchEvent(_THIS)
int posted; int posted;
XEvent xevent; XEvent xevent;
memset(&xevent, '\0', sizeof (XEvent)); /* valgrind fix. --ryan. */
XNextEvent(SDL_Display, &xevent); XNextEvent(SDL_Display, &xevent);
posted = 0; posted = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment