diff options
author | Jiang Jiang (Nokia-MS-Qt/Oslo) <jiang.jiang@nokia.com> | 2010-09-07 14:45:04 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@nokia.com> | 2010-09-07 14:47:26 +0200 |
commit | 5a381d21b924da0c0843940d223cd6fff767efdc (patch) | |
tree | 46ed4cbdef00efcf209000e4ace6366335a3faab | |
parent | 4b88f595ab62b7c5f703a286c4f5f13f8784a936 (diff) |
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@nokia.com>
-rw-r--r-- | src/harfbuzz-myanmar.c | 4 |
1 files changed, 0 insertions, 4 deletions
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 |