Mercurial > sdl-ios-xcode
diff src/audio/SDL_audiocvt.c @ 2738:79c1bd651f04
Fixed a bunch of compile warnings on Mac OS X
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 01 Sep 2008 16:04:20 +0000 |
parents | 2768bd7281e0 |
children | 02aa80d7905f |
line wrap: on
line diff
--- a/src/audio/SDL_audiocvt.c Sun Aug 31 16:04:32 2008 +0000 +++ b/src/audio/SDL_audiocvt.c Mon Sep 01 16:04:20 2008 +0000 @@ -1622,7 +1622,6 @@ SDL_BuildWindowedSinc(SDL_AudioCVT * cvt, SDL_AudioFormat format, unsigned int m) { - float fScale; /* scale factor for fixed point */ float *fSinc; /* floating point sinc buffer, to be converted to fixed point */ float fc; /* cutoff frequency */ float two_pi_fc, two_pi_over_m, four_pi_over_m, m_over_two; @@ -1708,6 +1707,8 @@ /* Clean up */ #undef convert_fixed SDL_stack_free(fSinc); + + return 0; } /* This is used to reduce the resampling ratio */