Slightly optimize UTF-8 parsing

This commit is contained in:
Behdad Esfahbod 2012-09-25 12:30:16 -04:00
parent 4445e5e2ec
commit 70ea4ac688
1 changed files with 2 additions and 2 deletions

View File

@ -44,8 +44,8 @@ hb_utf_next (const uint8_t *text,
const uint8_t *end,
hb_codepoint_t *unicode)
{
uint8_t c = *text;
unsigned int mask, len;
hb_codepoint_t c = *text, mask;
unsigned int len;
/* TODO check for overlong sequences? */