aboutsummaryrefslogtreecommitdiff
path: root/sdl
diff options
context:
space:
mode:
Diffstat (limited to 'sdl')
-rw-r--r--sdl/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sdl/main.c b/sdl/main.c
index af877d8..004c8fb 100644
--- a/sdl/main.c
+++ b/sdl/main.c
@@ -41,6 +41,7 @@ static struct {
};
static void audiocb(void *ptr, Uint8 *bufptr, int len) {
+ (void)ptr;
int frames = len / (sizeof(int16_t)*2);
int16_t *buf = (int16_t *)bufptr;
memset(buf, 0, len);
@@ -74,6 +75,8 @@ static void openfile(const char *path) {
}
int main(int argc, char **argv) {
+ (void)argc;
+ (void)argv;
if (__builtin_cpu_supports("sse2")) opna_ssg_sinc_calc_func = opna_ssg_sinc_calc_sse2;
fft_init_table();
if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_AUDIO)) {