[HarfBuzz] harfbuzz: Branch 'master'

Simon Hausmann hausmann at kemper.freedesktop.org
Wed Jan 21 00:28:42 PST 2009


 src/harfbuzz-khmer.c   |    1 +
 src/harfbuzz-myanmar.c |    1 +
 src/harfbuzz-tibetan.c |    1 +
 3 files changed, 3 insertions(+)

New commits:
commit b7ce275cacdae1452139cf38e1cf01ace98ed0fd
Author: Simon Hausmann <simon.hausmann at nokia.com>
Date:   Wed Jan 21 09:28:19 2009 +0100

    Fix compiler warnings about unused variables.

diff --git a/src/harfbuzz-khmer.c b/src/harfbuzz-khmer.c
index 6a8f115..958069e 100644
--- a/src/harfbuzz-khmer.c
+++ b/src/harfbuzz-khmer.c
@@ -646,6 +646,7 @@ void HB_KhmerAttributes(HB_Script script, const HB_UChar16 *text, hb_uint32 from
     int end = from + len;
     const HB_UChar16 *uc = text + from;
     hb_uint32 i = 0;
+    HB_UNUSED(script);
     attributes += from;
     while ( i < len ) {
 	HB_Bool invalid;
diff --git a/src/harfbuzz-myanmar.c b/src/harfbuzz-myanmar.c
index b135a3b..7cd82bb 100644
--- a/src/harfbuzz-myanmar.c
+++ b/src/harfbuzz-myanmar.c
@@ -518,6 +518,7 @@ void HB_MyanmarAttributes(HB_Script script, const HB_UChar16 *text, hb_uint32 fr
     int end = from + len;
     const HB_UChar16 *uc = text + from;
     hb_uint32 i = 0;
+    HB_UNUSED(script);
     attributes += from;
     while (i < len) {
 	HB_Bool invalid;
diff --git a/src/harfbuzz-tibetan.c b/src/harfbuzz-tibetan.c
index 45f067d..bfa31b1 100644
--- a/src/harfbuzz-tibetan.c
+++ b/src/harfbuzz-tibetan.c
@@ -252,6 +252,7 @@ void HB_TibetanAttributes(HB_Script script, const HB_UChar16 *text, hb_uint32 fr
     int end = from + len;
     const HB_UChar16 *uc = text + from;
     hb_uint32 i = 0;
+    HB_UNUSED(script);
     attributes += from;
     while (i < len) {
         HB_Bool invalid;



More information about the HarfBuzz mailing list