mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-22 23:41:03 +01:00
[graph] Early return from a function
This commit is contained in:
1 parent
09706b04fc
commit
548230e45e
1 file changed
+4
-1
+4
-1
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user