From 4e05371fd1da6dd0aa5187b8037948094762a749 Mon Sep 17 00:00:00 2001 From: Po Lu Date: Wed, 15 Mar 2023 15:57:59 +0800 Subject: [PATCH] ; * src/sfntfont.c (sfntfont_close): Fix warning w/o mmap. --- src/sfntfont.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/sfntfont.c b/src/sfntfont.c index ab92def0aff..b8ffce27062 100644 --- a/src/sfntfont.c +++ b/src/sfntfont.c @@ -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 */ -- 2.39.2