[coretext] Fix unused-variable error
Fixes https://github.com/harfbuzz/harfbuzz/issues/1659
This commit is contained in:
parent
4c19aa2620
commit
c5509be93a
|
@ -1069,7 +1069,7 @@ resize_and_retry:
|
||||||
if (false)
|
if (false)
|
||||||
{
|
{
|
||||||
/* Make sure all runs had the expected direction. */
|
/* 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_and & kCTRunStatusRightToLeft) == backward);
|
||||||
assert (bool (status_or & kCTRunStatusRightToLeft) == backward);
|
assert (bool (status_or & kCTRunStatusRightToLeft) == backward);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue