aboutsummaryrefslogtreecommitdiff
path: root/fmdsp/font_fmdsp_small.c
diff options
context:
space:
mode:
Diffstat (limited to 'fmdsp/font_fmdsp_small.c')
-rw-r--r--fmdsp/font_fmdsp_small.c2
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];