Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed compile warnings about unused variables.
Found by buildbot.
  • Loading branch information
philippwiesemann committed Dec 25, 2014
1 parent 97e8766 commit 79b3221
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/audio/emscripten/SDL_emscriptenaudio.c
Expand Up @@ -62,7 +62,6 @@ HandleAudioProcess(_THIS)
int byte_len = 0;
int bytes = SDL_AUDIO_BITSIZE(this->spec.format) / 8;
int bytes_in = SDL_AUDIO_BITSIZE(this->convert.src_format) / 8;
int i;

/* Only do soemthing if audio is enabled */
if (!this->enabled)
Expand Down
2 changes: 1 addition & 1 deletion src/joystick/emscripten/SDL_sysjoystick.c
Expand Up @@ -335,7 +335,7 @@ SDL_SYS_JoystickUpdate(SDL_Joystick * joystick)
{
EmscriptenGamepadEvent gamepadState;
SDL_joylist_item *item = SDL_joylist;
int i, result, button, buttonState;
int i, result, buttonState;

while (item != NULL) {
result = emscripten_get_gamepad_status(item->index, &gamepadState);
Expand Down

0 comments on commit 79b3221

Please sign in to comment.