[indic-table] Fix compiler warning

This commit is contained in:
Behdad Esfahbod 2014-06-20 14:58:53 -04:00
parent 0436e1d505
commit 64442a3f4c
2 changed files with 2 additions and 6 deletions

View File

@ -188,10 +188,8 @@ ends.append (last + 1)
offset += ends[-1] - starts[-1]
print
print
print "#define indic_offset_total %d" % offset
print
occupancy = used * 100. / total
print "}; /* Table occupancy: %d%% */" % occupancy
print "}; /* Table items: %d; occupancy: %d%% */" % (offset, occupancy)
print
print "INDIC_TABLE_ELEMENT_TYPE"
print "hb_indic_get_categories (hb_codepoint_t u)"

View File

@ -727,9 +727,7 @@ static const INDIC_TABLE_ELEMENT_TYPE indic_table[] = {
/* 116A8 */ _(C,x), _(C,x), _(C,x), _(Bi,x), _(Vs,x), _(M,T), _(M,L), _(M,R),
/* 116B0 */ _(M,B), _(M,B), _(M,T), _(M,T), _(M,T), _(M,T), _(V,T), _(N,x),
#define indic_offset_total 3816
}; /* Table occupancy: 69% */
}; /* Table items: 3816; occupancy: 69% */
INDIC_TABLE_ELEMENT_TYPE
hb_indic_get_categories (hb_codepoint_t u)