diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/sfntfont.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/sfntfont.c b/src/sfntfont.c index 3506742a92b..2c58de31a16 100644 --- a/src/sfntfont.c +++ b/src/sfntfont.c | |||
| @@ -2784,7 +2784,9 @@ sfntfont_setup_interpreter (struct sfnt_font_info *info, | |||
| 2784 | static void | 2784 | static void |
| 2785 | sfnt_close_tables (struct sfnt_font_tables *tables) | 2785 | sfnt_close_tables (struct sfnt_font_tables *tables) |
| 2786 | { | 2786 | { |
| 2787 | #ifdef HAVE_MMAP | ||
| 2787 | int rc; | 2788 | int rc; |
| 2789 | #endif /* HAVE_MMAP */ | ||
| 2788 | 2790 | ||
| 2789 | xfree (tables->cmap); | 2791 | xfree (tables->cmap); |
| 2790 | xfree (tables->hhea); | 2792 | xfree (tables->hhea); |
| @@ -2839,7 +2841,10 @@ sfnt_open_tables (struct sfnt_font_desc *desc) | |||
| 2839 | { | 2841 | { |
| 2840 | struct sfnt_font_tables *tables; | 2842 | struct sfnt_font_tables *tables; |
| 2841 | struct sfnt_offset_subtable *subtable; | 2843 | struct sfnt_offset_subtable *subtable; |
| 2842 | int fd, i, rc; | 2844 | int fd, i; |
| 2845 | #ifdef HAVE_MMAP | ||
| 2846 | int rc; | ||
| 2847 | #endif /* HAVE_MMAP */ | ||
| 2843 | struct sfnt_cmap_encoding_subtable *subtables; | 2848 | struct sfnt_cmap_encoding_subtable *subtables; |
| 2844 | struct sfnt_cmap_encoding_subtable_data **data; | 2849 | struct sfnt_cmap_encoding_subtable_data **data; |
| 2845 | struct sfnt_cmap_format_14 *format14; | 2850 | struct sfnt_cmap_format_14 *format14; |