summaryrefslogtreecommitdiff
path: root/pango/pango-ot-info.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2011-06-17 17:08:35 -0400
committerBehdad Esfahbod <behdad@behdad.org>2011-06-17 17:08:35 -0400
commita0296ccbdd570b66a36bf4226760aed312d020d4 (patch)
tree950a42281d637512381f147eccf01d4f05ffc19f /pango/pango-ot-info.c
parent26092c20b0936ff669513fbd64537123b99d036e (diff)
downloadpango-a0296ccbdd570b66a36bf4226760aed312d020d4.tar.gz
Bug 652841 - Various pieces of dead code found by gcc/clang static analyzer
Diffstat (limited to 'pango/pango-ot-info.c')
-rw-r--r--pango/pango-ot-info.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/pango/pango-ot-info.c b/pango/pango-ot-info.c
index be7d53a3..7bc249b0 100644
--- a/pango/pango-ot-info.c
+++ b/pango/pango-ot-info.c
@@ -513,14 +513,12 @@ _pango_ot_info_substitute (const PangoOTInfo *info,
for (i = 0; i < ruleset->rules->len; i++)
{
PangoOTRule *rule = &g_array_index (ruleset->rules, PangoOTRule, i);
- hb_mask_t mask;
unsigned int lookup_count, j;
unsigned int lookup_indexes[1000];
if (rule->table_type != PANGO_OT_TABLE_GSUB)
continue;
- mask = rule->property_bit;
lookup_count = G_N_ELEMENTS (lookup_indexes);
hb_ot_layout_feature_get_lookup_indexes (info->hb_face,
HB_OT_TAG_GSUB,