diff --git a/src/hb-coretext.cc b/src/hb-coretext.cc index 23f1c8415..492356155 100644 --- a/src/hb-coretext.cc +++ b/src/hb-coretext.cc @@ -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); }