diff options
author | Takamichi Horikawa <takamichiho@gmail.com> | 2018-01-05 23:30:41 +0900 |
---|---|---|
committer | Takamichi Horikawa <takamichiho@gmail.com> | 2018-01-05 23:30:41 +0900 |
commit | 98f4e72f1ae492771a755bf86c88da7c21f20720 (patch) | |
tree | b1c85eadbe23432f956bc3377ea88a8449672175 /fmdsp/font_fmdsp_small.c | |
parent | df6915f07e6cc13600a750b4fb4a8adf482b45f2 (diff) |
removed most compiler warnings
Diffstat (limited to 'fmdsp/font_fmdsp_small.c')
-rw-r--r-- | fmdsp/font_fmdsp_small.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fmdsp/font_fmdsp_small.c b/fmdsp/font_fmdsp_small.c index 6f89797..245f085 100644 --- a/fmdsp/font_fmdsp_small.c +++ b/fmdsp/font_fmdsp_small.c @@ -5,6 +5,7 @@ static const void *fmdsp_font_get(const struct fmdsp_font *font, uint16_t addr, enum fmdsp_font_type type) { + (void)font; if (type != FMDSP_FONT_ANK) return 0; if (addr >> 8) return 0; return &fontdat[addr*6]; @@ -16,6 +17,7 @@ const struct fmdsp_font font_fmdsp_small = { static const void *fmdsp_font_medium_get(const struct fmdsp_font *font, uint16_t addr, enum fmdsp_font_type type) { + (void)font; if (type != FMDSP_FONT_ANK) return 0; if (addr >> 8) return 0; return &fmdsp_medium_dat[addr*8]; |