[coretext] Fix unused-variable error

Fixes https://github.com/harfbuzz/harfbuzz/issues/1659
This commit is contained in:
Behdad Esfahbod 2019-04-08 14:50:58 -04:00
parent 4c19aa2620
commit c5509be93a
1 changed files with 1 additions and 1 deletions

View File

@ -1069,7 +1069,7 @@ resize_and_retry:
if (false)
{
/* Make sure all runs had the expected direction. */
bool backward = HB_DIRECTION_IS_BACKWARD (buffer->props.direction);
HB_UNUSED bool backward = HB_DIRECTION_IS_BACKWARD (buffer->props.direction);
assert (bool (status_and & kCTRunStatusRightToLeft) == backward);
assert (bool (status_or & kCTRunStatusRightToLeft) == backward);
}