mirror of
https://github.com/adtools/clib2.git
synced 2025-12-08 14:59:05 +00:00
Use IsMinListEmpty() for MinList rather than IsListEmpty().
This removes the warnings about breaking the strict-aliasing rules.
This commit is contained in:
@@ -125,7 +125,7 @@ CLIB_DESTRUCTOR(dirent_exit)
|
||||
|
||||
if(__directory_list.mlh_Head != NULL)
|
||||
{
|
||||
while(NOT IsListEmpty((struct List *)&__directory_list))
|
||||
while(NOT IsMinListEmpty(&__directory_list))
|
||||
closedir((DIR *)__directory_list.mlh_Head);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user