[HarfBuzz] harfbuzz: Branch 'master'

Behdad Esfahbod behdad at kemper.freedesktop.org
Sun Mar 16 13:40:38 PDT 2014


 src/hb-common.cc |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 0082dbeae6c25a7859960b7e791a540ad04246d9
Author: jfkthame <jfkthame at gmail.com>
Date:   Sun Mar 16 08:25:17 2014 +0000

    wrap definition of free_langs() with HAVE_ATEXIT
    
    ...to avoid an unused function warning; see mozilla bug https://bugzilla.mozilla.org/show_bug.cgi?id=984081.

diff --git a/src/hb-common.cc b/src/hb-common.cc
index 0fd790b..96725c4 100644
--- a/src/hb-common.cc
+++ b/src/hb-common.cc
@@ -234,6 +234,7 @@ struct hb_language_item_t {
 
 static hb_language_item_t *langs;
 
+#ifdef HAVE_ATEXIT
 static inline
 void free_langs (void)
 {
@@ -244,6 +245,7 @@ void free_langs (void)
     langs = next;
   }
 }
+#endif
 
 static hb_language_item_t *
 lang_find_or_insert (const char *key)


More information about the HarfBuzz mailing list