Skip to content

Commit

Permalink
Fixed bug #857
Browse files Browse the repository at this point in the history
Fixed compiler warnings
  • Loading branch information
slouken committed Oct 19, 2009
1 parent d831b1e commit c26fdd0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/audio/alsa/SDL_alsa_audio.c
Expand Up @@ -381,7 +381,7 @@ static int ALSA_finalize_hardware(_THIS, SDL_AudioSpec *spec, snd_pcm_hw_params_

/* This is useful for debugging */
if ( getenv("SDL_AUDIO_ALSA_DEBUG") ) {
snd_pcm_sframes_t persize = 0;
snd_pcm_uframes_t persize = 0;
unsigned int periods = 0;

SDL_NAME(snd_pcm_hw_params_get_period_size)(hwparams, &persize, NULL);
Expand Down Expand Up @@ -467,7 +467,6 @@ static int ALSA_OpenAudio(_THIS, SDL_AudioSpec *spec)
snd_pcm_format_t format;
unsigned int rate;
unsigned int channels;
snd_pcm_uframes_t bufsize;
Uint16 test_format;

/* Open the audio device */
Expand Down

0 comments on commit c26fdd0

Please sign in to comment.