Fixed compiler warning.

This commit is contained in:
Ryan C. Gordon 2013-08-20 20:31:57 -04:00
parent ad8aa33bce
commit 24006be288
1 changed files with 2 additions and 1 deletions

View File

@ -197,7 +197,8 @@ int
X11_InitKeyboard(_THIS) X11_InitKeyboard(_THIS)
{ {
SDL_VideoData *data = (SDL_VideoData *) _this->driverdata; SDL_VideoData *data = (SDL_VideoData *) _this->driverdata;
int i, j; int i = 0;
int j = 0;
int min_keycode, max_keycode; int min_keycode, max_keycode;
struct { struct {
SDL_Scancode scancode; SDL_Scancode scancode;