Explorar o código

Fixed compiler warning.

Ryan C. Gordon %!s(int64=12) %!d(string=hai) anos
pai
achega
24006be288
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      src/video/x11/SDL_x11keyboard.c

+ 2 - 1
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;