mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-08 06:43:13 +00:00
[graph] Early return from a function
This commit is contained in:
parent
09706b04fc
commit
548230e45e
1 changed files with 4 additions and 1 deletions
|
@ -213,7 +213,10 @@ struct graph_t
|
|||
for (unsigned i = 0; i < count; i++)
|
||||
{
|
||||
if (parents.arrayZ[i] == old_index)
|
||||
parents.arrayZ[i] = new_index;
|
||||
{
|
||||
parents.arrayZ[i] = new_index;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue