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 --- fmdsp/font_fmdsp_small.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'fmdsp/font_fmdsp_small.c') 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]; -- cgit v1.2.3