Fixed compiler warning.
authorRyan C. Gordon <icculus@icculus.org>
Tue, 20 Aug 2013 20:31:57 -0400
changeset 7672 424794018389
parent 7671 0cc733df4fca
child 7673 e3d59fb413ad
Fixed compiler warning.
src/video/x11/SDL_x11keyboard.c
--- a/src/video/x11/SDL_x11keyboard.c	Tue Aug 20 20:29:30 2013 -0400
+++ b/src/video/x11/SDL_x11keyboard.c	Tue Aug 20 20:31:57 2013 -0400
@@ -197,7 +197,8 @@
 X11_InitKeyboard(_THIS)
 {
     SDL_VideoData *data = (SDL_VideoData *) _this->driverdata;
-    int i, j;
+    int i = 0;
+    int j = 0;
     int min_keycode, max_keycode;
     struct {
         SDL_Scancode scancode;