From 98f4e72f1ae492771a755bf86c88da7c21f20720 Mon Sep 17 00:00:00 2001 From: Takamichi Horikawa Date: Fri, 5 Jan 2018 23:30:41 +0900 Subject: removed most compiler warnings --- common/fmplayer_file.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'common/fmplayer_file.c') diff --git a/common/fmplayer_file.c b/common/fmplayer_file.c index ce7e1dc..3d74432 100644 --- a/common/fmplayer_file.c +++ b/common/fmplayer_file.c @@ -14,9 +14,14 @@ void fmplayer_file_free(const struct fmplayer_file *fmfileptr) { } static void opna_writereg_dummy(struct fmdriver_work *work, unsigned addr, unsigned data) { + (void)work; + (void)addr; + (void)data; } static unsigned opna_readreg_dummy(struct fmdriver_work *work, unsigned addr) { + (void)work; + (void)addr; return 0xff; } @@ -26,6 +31,7 @@ struct dummy_opna { }; static uint8_t opna_status_dummy(struct fmdriver_work *work, bool a1) { + (void)a1; struct dummy_opna *opna = work->opna; if (!opna->timerb_loop) { if (work->loop_cnt >= opna->loopcnt) { -- cgit v1.2.3