diff options
author | Takamichi Horikawa <takamichiho@gmail.com> | 2018-01-06 23:00:54 +0900 |
---|---|---|
committer | Takamichi Horikawa <takamichiho@gmail.com> | 2018-01-06 23:00:54 +0900 |
commit | 1d2a45e348857f65cc7590b2e7f1b39c30216f92 (patch) | |
tree | cf99937e875dba4ca0ebc0a5f1245fdecd7dbe20 /sdl/main.c | |
parent | 534f7d138dd05ce938447ec8fe625899f3a4c857 (diff) |
fixed compiler warnings for sdl
Diffstat (limited to 'sdl/main.c')
-rw-r--r-- | sdl/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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)) { |