aboutsummaryrefslogtreecommitdiff
path: root/fmdriver
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 /fmdriver
parentdf6915f07e6cc13600a750b4fb4a8adf482b45f2 (diff)
removed most compiler warnings
Diffstat (limited to 'fmdriver')
-rw-r--r--fmdriver/fmdriver_fmp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fmdriver/fmdriver_fmp.c b/fmdriver/fmdriver_fmp.c
index 635ae4b..89cfc19 100644
--- a/fmdriver/fmdriver_fmp.c
+++ b/fmdriver/fmdriver_fmp.c
@@ -2231,6 +2231,7 @@ static void fmp_part_pit_pdzf(
struct fmdriver_work *work,
struct fmp_part *part
) {
+ (void)work;
if (part->pdzf.mode != 2) return;
if (--part->pdzf.pit.delay) return;
part->pdzf.pit.delay = 1;
@@ -3205,6 +3206,7 @@ static void fmp_title(
struct fmdriver_work *work,
struct driver_fmp *fmp,
uint16_t offset) {
+ (void)work;
int l = 0;
int li = 0;
for (int si = 0;; si++) {