src/hb-blob.cc | 2 ++ 1 file changed, 2 insertions(+) New commits: commit 2cb075fe26201f3e370fccfff6c1bc242b5acc79 Author: Behdad Esfahbod <beh...@behdad.org> Date: Tue Jul 3 13:04:05 2018 +0430
Fix unused function '_hb_mapped_file_destroy' if no mmap diff --git a/src/hb-blob.cc b/src/hb-blob.cc index 98e9c65c..61ed79a7 100644 --- a/src/hb-blob.cc +++ b/src/hb-blob.cc @@ -508,6 +508,7 @@ struct hb_mapped_file_t #endif }; +#if (defined(HAVE_MMAP) || defined(_WIN32) || defined(__CYGWIN__)) && !defined(HB_NO_MMAP) static void _hb_mapped_file_destroy (hb_mapped_file_t *file) { @@ -522,6 +523,7 @@ _hb_mapped_file_destroy (hb_mapped_file_t *file) free (file); } +#endif /** * hb_blob_create_from_file: _______________________________________________ HarfBuzz mailing list HarfBuzz@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/harfbuzz