forked from old/legacy-imlib2
Cleanups: while->for loops (loaders list)
This commit is contained in:
parent
240857af99
commit
3c645829b4
|
@ -75,14 +75,12 @@ __imlib_ConsumeLoader(ImlibLoader * l)
|
|||
void
|
||||
__imlib_RemoveAllLoaders(void)
|
||||
{
|
||||
ImlibLoader *l, *il;
|
||||
ImlibLoader *l, *l_next;
|
||||
|
||||
l = loaders;
|
||||
while (l)
|
||||
for (l = loaders; l; l = l_next)
|
||||
{
|
||||
il = l;
|
||||
l = l->next;
|
||||
__imlib_ConsumeLoader(il);
|
||||
l_next = l->next;
|
||||
__imlib_ConsumeLoader(l);
|
||||
}
|
||||
loaders = NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue