Commit 24006be2887afc8f9bb02dd95cafb779412738a2

Ryan C. Gordon 2013-08-20T20:31:57

Fixed compiler warning.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/src/video/x11/SDL_x11keyboard.c b/src/video/x11/SDL_x11keyboard.c
index 81d64b2..5c5f5bc 100644
--- a/src/video/x11/SDL_x11keyboard.c
+++ b/src/video/x11/SDL_x11keyboard.c
@@ -197,7 +197,8 @@ int
 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;