[HarfBuzz] harfbuzz: Branch 'master'
Lars Knoll
lars at kemper.freedesktop.org
Tue Sep 7 05:47:53 PDT 2010
src/harfbuzz-myanmar.c | 4 ----
1 file changed, 4 deletions(-)
New commits:
commit 5a381d21b924da0c0843940d223cd6fff767efdc
Author: Jiang Jiang (Nokia-MS-Qt/Oslo) <jiang.jiang at nokia.com>
Date: Tue Sep 7 14:45:04 2010 +0200
Remove unused local variable in myanmar shaper
The logClusters local variable is not needed here since we are
shaping syllable by syllable. Remove it to avoid compiler warnings
about set but not used variables.
Reviewed-by: Lars Knoll <lars.knoll at nokia.com>
diff --git a/src/harfbuzz-myanmar.c b/src/harfbuzz-myanmar.c
index 7cd82bb..4b68e64 100644
--- a/src/harfbuzz-myanmar.c
+++ b/src/harfbuzz-myanmar.c
@@ -424,12 +424,8 @@ static HB_Bool myanmar_shape_syllable(HB_Bool openType, HB_ShaperItem *item, HB_
#ifndef NO_OPENTYPE
if (openType) {
- unsigned short logClusters[32];
hb_uint32 where[32];
- for (i = 0; i < len; ++i)
- logClusters[i] = i;
-
for (i = 0; i < len; ++i) {
where[i] = ~(PreSubstProperty
| BelowSubstProperty
More information about the HarfBuzz
mailing list