aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorTakamichi Horikawa <takamichiho@gmail.com>2018-01-05 23:30:41 +0900
committerTakamichi Horikawa <takamichiho@gmail.com>2018-01-05 23:30:41 +0900
commit98f4e72f1ae492771a755bf86c88da7c21f20720 (patch)
treeb1c85eadbe23432f956bc3377ea88a8449672175 /common
parentdf6915f07e6cc13600a750b4fb4a8adf482b45f2 (diff)
removed most compiler warnings
Diffstat (limited to 'common')
-rw-r--r--common/fmplayer_file.c6
1 files changed, 6 insertions, 0 deletions
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) {