convert-emoji: Don’t pointlessly do rest of loop

skip can never become FALSE again, so break as soon as it becomes TRUE.
This commit is contained in:
Daniel Boles 2017-08-13 17:39:13 +01:00
parent f998360600
commit 4a6f5136ba

View File

@ -133,7 +133,10 @@ main (int argc, char *argv[])
for (j = 0; blacklist[j]; j++)
{
if (strstr (name, blacklist[j]) != 0)
skip = TRUE;
{
skip = TRUE;
break;
}
}
if (skip)
continue;