mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-10 15:23:35 +00:00
[gvar] Write a for loop as range loop
This commit is contained in:
parent
f654823fe0
commit
78a0216a03
1 changed files with 1 additions and 3 deletions
|
@ -367,10 +367,8 @@ struct gvar
|
|||
if (unlikely (end_points.in_error ())) return false;
|
||||
|
||||
unsigned start_point = 0;
|
||||
for (unsigned c = 0; c < end_points.length; c++)
|
||||
for (unsigned end_point : end_points)
|
||||
{
|
||||
unsigned end_point = end_points.arrayZ[c];
|
||||
|
||||
/* Check the number of unreferenced points in a contour. If no unref points or no ref points, nothing to do. */
|
||||
unsigned unref_count = 0;
|
||||
for (unsigned i = start_point; i < end_point + 1; i++)
|
||||
|
|
Loading…
Add table
Reference in a new issue