Fixed compile warnings about unused variables.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Thu, 25 Dec 2014 22:03:07 +0100
changeset 929102b47b8164da
parent 9290 fe975b2313fa
child 9292 e0868ad5810c
Fixed compile warnings about unused variables.

Found by buildbot.
src/audio/emscripten/SDL_emscriptenaudio.c
src/joystick/emscripten/SDL_sysjoystick.c
     1.1 --- a/src/audio/emscripten/SDL_emscriptenaudio.c	Thu Dec 25 21:42:56 2014 +0100
     1.2 +++ b/src/audio/emscripten/SDL_emscriptenaudio.c	Thu Dec 25 22:03:07 2014 +0100
     1.3 @@ -62,7 +62,6 @@
     1.4      int byte_len = 0;
     1.5      int bytes = SDL_AUDIO_BITSIZE(this->spec.format) / 8;
     1.6      int bytes_in = SDL_AUDIO_BITSIZE(this->convert.src_format) / 8;
     1.7 -    int i;
     1.8  
     1.9      /* Only do soemthing if audio is enabled */
    1.10      if (!this->enabled)
     2.1 --- a/src/joystick/emscripten/SDL_sysjoystick.c	Thu Dec 25 21:42:56 2014 +0100
     2.2 +++ b/src/joystick/emscripten/SDL_sysjoystick.c	Thu Dec 25 22:03:07 2014 +0100
     2.3 @@ -335,7 +335,7 @@
     2.4  {
     2.5      EmscriptenGamepadEvent gamepadState;
     2.6      SDL_joylist_item *item = SDL_joylist;
     2.7 -    int i, result, button, buttonState;
     2.8 +    int i, result, buttonState;
     2.9  
    2.10      while (item != NULL) {
    2.11          result = emscripten_get_gamepad_status(item->index, &gamepadState);