; * src/sfntfont.c (sfntfont_close): Fix warning w/o mmap.

This commit is contained in:
Po Lu 2023-03-15 15:57:59 +08:00
parent 8fbac937fb
commit 4e05371fd1

View file

@ -2663,8 +2663,9 @@ sfntfont_text_extents (struct font *font, const unsigned int *code,
void
sfntfont_close (struct font *font)
{
struct sfnt_font_info *info, **next;
struct sfnt_font_info *info;
#ifdef HAVE_MMAP
struct sfnt_font_info **next;
int rc;
#endif /* HAVE_MMAP */