]> git.eshelyaron.com Git - emacs.git/commitdiff
; * src/sfntfont.c (sfntfont_close): Fix warning w/o mmap.
authorPo Lu <luangruo@yahoo.com>
Wed, 15 Mar 2023 07:57:59 +0000 (15:57 +0800)
committerPo Lu <luangruo@yahoo.com>
Wed, 15 Mar 2023 07:57:59 +0000 (15:57 +0800)
src/sfntfont.c

index ab92def0affab09ef586b5d5e34cff28afdcc180..b8ffce270623ac5e3cd17f6da7c4177d4fb2e9f0 100644 (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 */