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